MCPcopy Create free account

hub / github.com/agronholm/anyio / functions

Functions2,553 in github.com/agronholm/anyio

Methodhandle_handshake_error
( exc: BaseException, stream: AnyByteStream )
tests/streams/test_tls.py:531
Functionhandle_resource
(resource: Resource)
docs/snippets/why/anyio_cancel_before_start.py:22
Methodhandler
(stream: SocketStream)
tests/test_sockets.py:1779
Methodhandler
(stream: object)
tests/streams/test_tls.py:524
Methodhandler_wrapper
(stream: AnyByteStream)
src/anyio/streams/tls.py:379
Methodhas_pending_cancellation
(self)
src/anyio/_backends/_asyncio.py:2375
Methodhas_pending_cancellation
(self)
src/anyio/_backends/_trio.py:1069
Methodin_loop
()
tests/test_from_thread.py:1011
Functionin_task_group
(task_status: TaskStatus[None])
tests/test_taskgroups.py:2003
Methodinfo
(self)
src/anyio/_core/_fileio.py:502
Functioninsert_unreleased_changes
(app: Sphinx, docname: str, source: list[str])
docs/conf.py:59
Functioninspect
()
tests/test_debugging.py:77
Methodinterrupt
()
tests/test_sockets.py:625
Methodinterrupt
()
tests/test_sockets.py:1748
Methodinterrupt
()
tests/test_sockets.py:2841
Methodis_even
(value: int)
tests/test_itertools.py:497
Methodis_running
(self)
src/anyio/_backends/_asyncio.py:2433
Methodis_running
(self)
src/anyio/_backends/_trio.py:986
Methodis_set
(self)
src/anyio/_core/_synchronization.py:145
Functionjust_wait
( *, task_status: TaskStatus[str] = anyio.TASK_STATUS_IGNORED )
tests/test_taskgroups.py:1978
Methodkill
Kills the process. On Windows, this calls ``TerminateProcess()``. On POSIX systems, this sends ``SIGKILL`` to the process.
src/anyio/abc/_subprocesses.py:36
Functionkiller
(scope: CancelScope)
tests/test_taskgroups.py:1225
Methodkind
The type of socket connection (e.g., :data:`~socket.SOCK_STREAM` or :data:`~socket.SOCK_DGRAM`) used to bind for checking port availa
src/anyio/pytest_plugin.py:349
Methodless_than_five
(value: int)
tests/test_itertools.py:899
Methodless_than_four
(value: int)
tests/test_itertools.py:466
Methodless_than_four
(value: int)
tests/test_itertools.py:915
Methodless_than_three
(value: int)
tests/test_itertools.py:451
Methodless_than_three
(value: int)
tests/test_itertools.py:903
Methodless_than_zero
(value: int)
tests/test_itertools.py:462
Methodless_than_zero
(value: int)
tests/test_itertools.py:919
Functionlimiter
(request: FixtureRequest)
tests/test_fileio.py:26
Methodlimiter
The capacity limiter used by this file object, if not the global limiter.
src/anyio/_core/_fileio.py:100
Methodlimiter
The capacity limiter used by this path, if not the global limiter.
src/anyio/_core/_fileio.py:424
Functionlisten
(tasknum: int, condition: Condition)
docs/snippets/synchronization/condition.py:4
Methodlocked
Return True if the lock is currently held.
src/anyio/_core/_synchronization.py:259
Functionlong_running_task
(index: int)
docs/snippets/threads/start_task_soon.py:7
Functionmain
()
tests/test_eventloop.py:92
Functionmain
()
tests/test_debugging.py:35
Functionmain
()
tests/test_to_thread.py:157
Functionmain
()
tests/test_taskgroups.py:1606
Functionmain
()
docs/snippets/subinterpreters/run_sync.py:6
Functionmain
()
docs/snippets/subprocesses/run_in_worker_process.py:11
Functionmain
()
docs/snippets/subprocesses/open_process.py:5
Functionmain
()
docs/snippets/subprocesses/run_process_shell.py:4
Functionmain
()
docs/snippets/subprocesses/run_process.py:4
Functionmain
()
docs/snippets/streams/file_streams.py:5
Functionmain
()
docs/snippets/streams/memory_object_stream.py:11
Functionmain
()
docs/snippets/streams/tls_server.py:13
Functionmain
()
docs/snippets/streams/tls_client.py:6
Functionmain
()
docs/snippets/streams/text_stream.py:5
Functionmain
()
docs/snippets/streams/buffered_byte_stream.py:5
Functionmain
()
docs/snippets/streams/memory_stream_cloning.py:17
Functionmain
()
docs/snippets/basics/hello_world.py:4
Functionmain
()
docs/snippets/basics/native_trio_run.py:7
Functionmain
()
docs/snippets/tempfile/named_temporary_file.py:4
Functionmain
()
docs/snippets/tempfile/spooled_temporary_file.py:4
Functionmain
()
docs/snippets/tempfile/mkstemp_mkdtemp.py:6
Functionmain
()
docs/snippets/tempfile/temporary_directory.py:4
Functionmain
()
docs/snippets/tempfile/temporary_file.py:4
Functionmain
()
docs/snippets/networking/unix_client.py:4
Functionmain
()
docs/snippets/networking/tcp_client.py:4
Functionmain
()
docs/snippets/networking/unix_datagram_client.py:4
Functionmain
()
docs/snippets/networking/fds_server.py:14
Functionmain
()
docs/snippets/networking/unix_datagram_server.py:4
Functionmain
()
docs/snippets/networking/udp_client.py:4
Functionmain
()
docs/snippets/networking/unix_server.py:11
Functionmain
()
docs/snippets/networking/fds_client.py:6
Functionmain
()
docs/snippets/networking/udp_server.py:6
Functionmain
()
docs/snippets/networking/tcp_server.py:11
Functionmain
()
docs/snippets/signals/handle_keyboard_interrupt.py:18
Functionmain
()
docs/snippets/signals/receive_signals.py:6
Functionmain
()
docs/snippets/threads/call_sync_from_thread.py:11
Functionmain
()
docs/snippets/threads/blocking_portal.py:13
Functionmain
()
docs/snippets/threads/run_sync.py:6
Functionmain
()
docs/snippets/threads/event_loop_token.py:12
Functionmain
()
docs/snippets/threads/blocking_portal_call_async.py:14
Functionmain
()
docs/snippets/threads/call_async_from_thread.py:8
Functionmain
()
docs/snippets/cancellation/shielding.py:10
Functionmain
()
docs/snippets/cancellation/move_on_after.py:4
Functionmain
()
docs/snippets/tasks/start_soon.py:9
Functionmain
()
docs/snippets/tasks/start_task_handle.py:13
Functionmain
()
docs/snippets/tasks/start.py:24
Functionmain
()
docs/snippets/tasks/create_task.py:9
Functionmain
()
docs/snippets/tasks/task_group.py:10
Functionmain
()
docs/snippets/fileio/limit_concurrency.py:4
Functionmain
()
docs/snippets/fileio/path_write_bytes.py:4
Functionmain
()
docs/snippets/fileio/iterate_lines.py:4
Functionmain
()
docs/snippets/fileio/path_iterdir.py:4
Functionmain
()
docs/snippets/fileio/wrap_file.py:4
Functionmain
()
docs/snippets/fileio/read_file.py:4
Functionmain
()
docs/snippets/migration/instantiate_event.py:4
Functionmain
()
docs/snippets/synchronization/future_exception.py:12
Functionmain
()
docs/snippets/synchronization/future.py:8
Functionmain
()
docs/snippets/synchronization/event.py:8
Functionmain
()
docs/snippets/synchronization/condition.py:10
Functionmain
()
docs/snippets/synchronization/lock.py:10
Functionmain
()
docs/snippets/synchronization/capacity_limiter.py:10
Functionmain
()
docs/snippets/synchronization/semaphore.py:10
Methodmain
()
tests/test_eventloop.py:110
Methodmain
()
tests/test_eventloop.py:161
← previousnext →1,101–1,200 of 2,553, ranked by callers