MCPcopy Create free account

hub / github.com/agronholm/anyio / functions

Functions2,553 in github.com/agronholm/anyio

Functionserver_context
(ca: CA)
tests/conftest.py:144
Functionserver_context
(ca: trustme.CA)
docs/snippets/streams/tls_trustme_fixtures.py:13
Functionserver_operation
()
docs/snippets/threads/blocking_portal_call_async.py:5
Methodserver_sock
(self, family: AnyIPAddressFamily)
tests/test_sockets.py:236
Methodserver_sock
(self, socket_path: Path)
tests/test_sockets.py:1418
Functionservice_task
(*, task_status: TaskStatus[str] = TASK_STATUS_IGNORED)
docs/snippets/threads/start_task.py:6
Methodset
(self)
src/anyio/_core/_synchronization.py:139
Functionset_result
(value: str)
tests/test_taskgroups.py:499
Methodsetter
()
tests/test_synchronization.py:271
Methodsetter
()
tests/test_synchronization.py:820
Functionsetup
(app: Sphinx)
docs/conf.py:76
Methodsetup_process_pool_exit_at_shutdown
(cls, workers: set[abc.Process])
src/anyio/_backends/_asyncio.py:2924
Methodsetup_process_pool_exit_at_shutdown
(cls, workers: set[abc.Process])
src/anyio/_backends/_trio.py:1258
Methodshield
(self)
src/anyio/_backends/_asyncio.py:734
Methodshield
(self)
src/anyio/_backends/_trio.py:190
Functionshield_task
()
tests/test_taskgroups.py:381
Methodshield_task
()
tests/test_taskgroups.py:1835
Functionsignal_handler
()
tests/test_signals.py:39
Functionsignal_handler
(scope: CancelScope)
docs/snippets/signals/handle_keyboard_interrupt.py:6
Methodsleep
(cls, delay: float)
src/anyio/_backends/_asyncio.py:2664
Functionsleep_and_raise
()
tests/test_taskgroups.py:475
Functionsleep_only
(task_status: TaskStatus[None])
tests/test_taskgroups.py:479
Methodsleeper
(time: float)
tests/test_functools.py:394
Methodsocket_path
(self, request: SubRequest)
tests/test_sockets.py:1404
Methodsocket_path
(self, request: SubRequest)
tests/test_sockets.py:1936
Methodsocket_path
(self, request: SubRequest)
tests/test_sockets.py:2863
Methodsocket_path
(self, request: SubRequest)
tests/test_sockets.py:3056
Methodsocket_path_or_str
(self, request: SubRequest, socket_path: Path)
tests/test_sockets.py:1414
Methodsocket_path_or_str
(self, request: SubRequest, socket_path: Path)
tests/test_sockets.py:1946
Methodsocket_path_or_str
(self, request: SubRequest, socket_path: Path)
tests/test_sockets.py:2873
Methodsocket_path_or_str
(self, request: SubRequest, socket_path: Path)
tests/test_sockets.py:3066
Functionsometask
(num: int)
docs/snippets/tasks/start_soon.py:4
Functionsometask
(num: int)
docs/snippets/tasks/task_group.py:4
Methodspawn_task
()
src/anyio/from_thread.py:417
Methodstapled
( self, send_stream: DummyByteSendStream, receive_stream: DummyByteReceiveStream )
tests/streams/test_stapled.py:66
Methodstapled
( self, receive_stream: DummyObjectReceiveStream[str], send_stream: DummyObjectSendStr
tests/streams/test_stapled.py:172
Methodstapled_with_send_nowait
( self, receive_stream: DummyObjectReceiveStream[str], send_stream_with_send_nowait: D
tests/streams/test_stapled.py:180
Methodstart
( self, func: Callable[[Unpack[PosArgsT]], Coroutine[Any, Any, T_co]], *args: Unpack[P
src/anyio/_backends/_trio.py:285
Functionstart_some_service
( port: int, *, task_status: TaskStatus[int] = TASK_STATUS_IGNORED )
docs/snippets/tasks/start_task_handle.py:5
Functionstart_some_service
( port: int, *, task_status: TaskStatus[None] = TASK_STATUS_IGNORED )
docs/snippets/tasks/start.py:14
Methodstart_value
The value passed to :meth:`task_status.started() <.abc.TaskStatus.started>`, :raises RuntimeError: if the task was not started with
src/anyio/_core/_tasks.py:433
Methodstarted
(self, value: object = None)
src/anyio/from_thread.py:183
Methodstarted
(self, value: object = None)
src/anyio/_core/_tasks.py:36
Methodstarted
(self, value: T_contra | None = None)
src/anyio/_backends/_asyncio.py:787
Functionstarter_task
()
tests/test_taskgroups.py:1651
Methodstatistics
Return statistics about the current state of this event.
src/anyio/_core/_synchronization.py:115
Methodstatistics
(self)
src/anyio/_core/_synchronization.py:154
Methodstatistics
Return statistics about the current state of this lock. .. versionadded:: 3.0
src/anyio/_core/_synchronization.py:266
Methodstatistics
Return statistics about the current state of this semaphore. .. versionadded:: 3.0
src/anyio/_core/_synchronization.py:465
Methodstatistics
(self)
src/anyio/_core/_synchronization.py:529
Methodstatistics
Return statistics about the current state of this limiter. .. versionadded:: 3.0
src/anyio/_core/_synchronization.py:644
Methodstatistics
(self)
src/anyio/_core/_synchronization.py:736
Methodstatistics
(self)
src/anyio/streams/memory.py:68
Methodstatistics
Return statistics about the current state of this stream. .. versionadded:: 3.0
src/anyio/streams/memory.py:186
Methodstatistics
(self)
src/anyio/_backends/_asyncio.py:2011
Methodstatistics
(self)
src/anyio/_backends/_asyncio.py:2094
Methodstatistics
(self)
src/anyio/_backends/_asyncio.py:2183
Methodstatistics
(self)
src/anyio/_backends/_asyncio.py:2299
Methodstatus
The current status of a future. Every future starts in the :attr:`~Future.Status.PENDING` state. If a future is cancelled wh
src/anyio/_core/_futures.py:162
Methodstatus
The current status of the task. Every task starts in the :attr:`~TaskHandle.Status.PENDING` state. If a task is cancelled wh
src/anyio/_core/_tasks.py:359
Methodstderr
The stream for the standard error output of the process.
src/anyio/abc/_subprocesses.py:81
Methodstderr
(self)
src/anyio/_backends/_asyncio.py:1282
Methodstderr
(self)
src/anyio/_backends/_trio.py:418
Methodstdin
The stream for the standard input of the process.
src/anyio/abc/_subprocesses.py:71
Methodstdin
(self)
src/anyio/_backends/_asyncio.py:1274
Methodstdin
(self)
src/anyio/_backends/_trio.py:410
Methodstdout
The stream for the standard output of the process.
src/anyio/abc/_subprocesses.py:76
Methodstdout
(self)
src/anyio/_backends/_asyncio.py:1278
Methodstdout
(self)
src/anyio/_backends/_trio.py:414
Methodstem
(self)
src/anyio/_core/_fileio.py:465
Functionsubgroup
()
tests/test_taskgroups.py:655
Functionsubtask
()
tests/test_taskgroups.py:1647
Methodsuffix
(self)
src/anyio/_core/_fileio.py:457
Methodsuffixes
(self)
src/anyio/_core/_fileio.py:461
Functionsuppress_slow_callbacks
()
tests/conftest.py:95
Functionsync_add
(a: int, b: int)
tests/test_from_thread.py:63
Functionsync_coro
()
tests/test_taskgroups.py:2198
Functionsync_func_run_in_thread
(portal: BlockingPortal)
docs/snippets/threads/blocking_portal.py:9
Functionsync_function
()
tests/test_from_thread.py:82
Functionsync_function
()
docs/snippets/threads/check_cancelled.py:6
Methodsync_thread
()
tests/test_from_thread.py:1061
Functionsynchronized_call_soon_threadsafe
( callback: Any, *args: Any, context: Any = None )
tests/test_to_thread.py:161
Functionsynchronous_callback
(send_stream: MemoryObjectSendStream[str])
docs/snippets/streams/memory_stream_sync_callback.py:4
Methodtarget
()
tests/test_from_thread.py:490
Functiontask
(fut: Future[int], value: int)
tests/test_futures.py:36
Functiontask
(task_status: TaskStatus)
tests/test_taskgroups.py:1102
Functiontask
(future: Future[int], value: int)
docs/snippets/synchronization/future.py:4
Methodtask
()
tests/test_synchronization.py:35
Methodtask
()
tests/test_synchronization.py:285
Methodtask
()
tests/test_synchronization.py:399
Methodtask
(*, task_status: TaskStatus)
tests/test_synchronization.py:622
Functiontask1
(future: Future[int])
docs/snippets/synchronization/future_exception.py:4
Functiontask2
(future: Future[int])
docs/snippets/synchronization/future_exception.py:8
Methodtask_done
(future: Future[T_Retval])
src/anyio/from_thread.py:511
Functiontask_factory
( loop: asyncio.AbstractEventLoop, coro: Coroutine[Any, Any, Any], **kwargs: Any,
tests/test_taskgroups.py:139
Functiontask_fn
(*, task_status: TaskStatus[str] = TASK_STATUS_IGNORED)
tests/test_taskgroups.py:459
Functiontask_worker
()
tests/test_to_thread.py:76
Functiontask_wrap
()
tests/test_taskgroups.py:1540
Methodtask_wrapper
()
src/anyio/_backends/_asyncio.py:2800
Functiontaskfunc
()
docs/snippets/cancellation/cancel_task_group.py:12
← previousnext →1,401–1,500 of 2,553, ranked by callers