MCPcopy Create free account

hub / github.com/agronholm/anyio / functions

Functions2,553 in github.com/agronholm/anyio

Functionreceiver
()
tests/streams/test_memory.py:43
Methodrelease
Release the lock.
src/anyio/_core/_synchronization.py:255
Methodrelease
(self)
src/anyio/_core/_synchronization.py:515
Methodrelease
Release the token held by the current task. :raises RuntimeError: if the current task has not borrowed a token from this
src/anyio/_core/_synchronization.py:624
Methodrelease
(self)
src/anyio/_core/_synchronization.py:730
Methodrelease_on_behalf_of
(self, borrower: object)
src/anyio/_core/_synchronization.py:733
Methodresume_writing
(self)
src/anyio/_backends/_asyncio.py:1371
Methodresume_writing
(self)
src/anyio/_backends/_asyncio.py:1403
Methodreturn_value
The return value of the future. :raises FutureNotFinished: if the future has not finished yet :raises FutureCancelled: if th
src/anyio/_core/_futures.py:128
Methodreturn_value
The return value of the task. :raises TaskNotFinished: if the task has not finished yet :raises TaskCancelled: if the task w
src/anyio/_core/_tasks.py:411
Methodreturncode
The return code of the process. If the process has not yet terminated, this will be ``None``.
src/anyio/abc/_subprocesses.py:63
Methodreturncode
(self)
src/anyio/_backends/_asyncio.py:1270
Methodreturncode
(self)
src/anyio/_backends/_trio.py:406
Methodroot
(self)
src/anyio/_core/_fileio.py:437
Functionrun
Run the given coroutine function in an asynchronous event loop. The current thread must not be already running an event loop. :param fu
src/anyio/_core/_eventloop.py:38
Methodrun
Run the given coroutine function in an asynchronous event loop. The current thread must not be already running an event loop.
src/anyio/abc/_eventloop.py:63
Methodrun
(self)
src/anyio/_backends/_asyncio.py:1110
Methodrun
( cls, func: Callable[[Unpack[PosArgsT]], Awaitable[T_Retval]], args: tuple[Unpack[Pos
src/anyio/_backends/_asyncio.py:2590
Methodrun_async_cm
(self)
src/anyio/from_thread.py:138
Methodrun_async_from_thread
( cls, func: Callable[[Unpack[PosArgsT]], Coroutine[Any, Any, T_co]], args: tuple[Unpa
src/anyio/_backends/_asyncio.py:2794
Methodrun_async_from_thread
( cls, func: Callable[[Unpack[PosArgsT]], Coroutine[Any, Any, T_co]], args: tuple[Unpa
src/anyio/_backends/_trio.py:1178
Methodrun_asyncgen_fixture
( self, fixture_func: Callable[..., AsyncGenerator[T_Retval, Any]], kwargs: dict[str,
src/anyio/_backends/_asyncio.py:2506
Methodrun_asyncgen_fixture
( self, fixture_func: Callable[..., AsyncGenerator[T_Retval, Any]], kwargs: dict[str,
src/anyio/_backends/_trio.py:1029
Functionrun_blocking_portal
()
src/anyio/from_thread.py:636
Methodrun_call
()
src/anyio/from_thread.py:393
Methodrun_coro_with_task_status
( *, task_status: trio.TaskStatus[Any] )
src/anyio/_backends/_trio.py:294
Methodrun_fixture
( self, fixture_func: Callable[..., Coroutine[Any, Any, T_Retval]], kwargs: dict[str,
src/anyio/_backends/_asyncio.py:2529
Methodrun_fixture
( self, fixture_func: Callable[..., Coroutine[Any, Any, T_Retval]], kwargs: dict[str,
src/anyio/_backends/_trio.py:1047
Methodrun_in_context
()
tests/test_from_thread.py:892
Functionrun_portal
()
src/anyio/from_thread.py:628
Functionrun_sync
Call the given function with the given arguments in a subinterpreter. .. warning:: On Python 3.13, the :mod:`concurrent.interpreters` module
src/anyio/to_interpreter.py:174
Functionrun_sync
Call the given function with the given arguments in a worker process. If the ``cancellable`` option is enabled and the task waiting for its
src/anyio/to_process.py:45
Methodrun_sync_from_thread
( cls, func: Callable[[Unpack[PosArgsT]], T_Retval], args: tuple[Unpack[PosArgsT]],
src/anyio/_backends/_asyncio.py:2829
Methodrun_sync_from_thread
( cls, func: Callable[[Unpack[PosArgsT]], T_Retval], args: tuple[Unpack[PosArgsT]],
src/anyio/_backends/_trio.py:1191
Methodrun_sync_in_worker_thread
( # type: ignore[return] cls, func: Callable[[Unpack[PosArgsT]], T_Retval], args: tup
src/anyio/_backends/_asyncio.py:2723
Methodrun_sync_in_worker_thread
( cls, func: Callable[[Unpack[PosArgsT]], T_Retval], args: tuple[Unpack[PosArgsT]],
src/anyio/_backends/_trio.py:1155
Methodrun_sync_soon
( cls, func: Callable[[Unpack[PosArgsT]], object], args: tuple[Unpack[PosArgsT]],
src/anyio/_backends/_asyncio.py:2856
Methodrun_sync_soon
( cls, func: Callable[[Unpack[PosArgsT]], object], args: tuple[Unpack[PosArgsT]],
src/anyio/_backends/_trio.py:1204
Methodrun_test
( self, test_func: Callable[..., Coroutine[Any, Any, Any]], kwargs: dict[str, Any] )
src/anyio/_backends/_asyncio.py:2540
Methodrun_test
( self, test_func: Callable[..., Coroutine[Any, Any, Any]], kwargs: dict[str, Any] )
src/anyio/_backends/_trio.py:1054
Functionrun_with_hypothesis
(**kwargs: Any)
src/anyio/pytest_plugin.py:270
Functionrunner
( awaitable: Awaitable[R], index: int, _send: MemoryObjectSendStream[TaskHandle[R]],
src/anyio/_core/_concurrency_utils.py:114
Functionscoped_receiver
(task_status: TaskStatus[CancelScope])
tests/streams/test_memory.py:341
Functionsecond_func
()
tests/test_lowlevel.py:29
Functionsecond_func
()
tests/test_itertools.py:83
Methodseek
Seek the file to the given position. .. seealso:: :meth:`io.IOBase.seek` .. note:: Not all file descriptors are seekable.
src/anyio/streams/file.py:102
Functionself_cancel
(*, task_status: TaskStatus)
tests/test_debugging.py:151
Methodsend
Send an item to the peer(s). :param item: the item to send :raises ~anyio.ClosedResourceError: if the send stream has been e
src/anyio/abc/_streams.py:65
Methodsend
Send the given bytes to the peer. :param item: the bytes to send
src/anyio/abc/_streams.py:157
Methodsend
(self, item: T_Item)
src/anyio/streams/stapled.py:85
Methodsend
Send an item to the stream. If the buffer is full, this method blocks until there is again room in the buffer or the item ca
src/anyio/streams/memory.py:253
Methodsend
(self, item: bytes)
src/anyio/streams/buffered.py:187
Methodsend
(self, item: bytes)
src/anyio/streams/file.py:156
Methodsend
(self, item: bytes)
src/anyio/_backends/_asyncio.py:1189
Methodsend
(self, item: bytes)
src/anyio/_backends/_asyncio.py:1459
Methodsend
(self, item: bytes)
src/anyio/_backends/_asyncio.py:1578
Methodsend
(self, item: bytes)
src/anyio/_backends/_asyncio.py:1882
Methodsend
(self, item: UNIXDatagramPacketType)
src/anyio/_backends/_asyncio.py:1927
Methodsend
(self, item: bytes)
src/anyio/_backends/_asyncio.py:1963
Methodsend
(self, item: bytes)
src/anyio/_backends/_trio.py:353
Methodsend
(self, item: bytes)
src/anyio/_backends/_trio.py:502
Methodsend
(self, item: bytes)
src/anyio/_backends/_trio.py:646
Methodsend
(self, item: bytes)
src/anyio/_backends/_trio.py:691
Methodsend
(data: bytes)
tests/test_sockets.py:2721
Methodsend
(self, item: T_Item)
tests/streams/test_stapled.py:135
Methodsend_and_cancel
Return ``True`` if the send was cancelled before completing.
tests/test_sockets.py:292
Methodsend_and_cancel
(payload: bytes)
tests/test_sockets.py:2807
Methodsend_data
()
tests/test_sockets.py:597
Methodsend_data
()
tests/test_sockets.py:1716
Methodsend_eof
Send an end-of-file indication to the peer. You should not try to send any further data to this stream after calling this me
src/anyio/abc/_streams.py:111
Methodsend_eof
Send an end-of-file indication to the peer. You should not try to send any further data to this stream after calling this me
src/anyio/abc/_streams.py:169
Methodsend_eof
(self)
src/anyio/streams/stapled.py:52
Methodsend_eof
(self)
src/anyio/streams/stapled.py:98
Methodsend_eof
(self)
src/anyio/streams/text.py:163
Methodsend_eof
(self)
src/anyio/_backends/_asyncio.py:1491
Methodsend_eof
(self)
src/anyio/_backends/_asyncio.py:1551
Methodsend_eof
(self)
src/anyio/_backends/_trio.py:513
Methodsend_fds
(self, message: bytes, fds: Collection[int | IOBase])
src/anyio/_backends/_asyncio.py:1635
Methodsend_fds
(self, message: bytes, fds: Collection[int | IOBase])
src/anyio/_backends/_trio.py:551
Methodsend_nowait
(self, item: T_Item)
tests/streams/test_stapled.py:154
Methodsend_one_more
()
tests/test_sockets.py:2787
Methodsend_signal
Send a signal to the subprocess. .. seealso:: :meth:`subprocess.Popen.send_signal` :param signal: the signal number (e.g. :
src/anyio/abc/_subprocesses.py:47
Methodsend_signal
(self, signal: int)
src/anyio/_backends/_asyncio.py:1262
Methodsend_signal
(self, signal: Signals)
src/anyio/_backends/_trio.py:398
Methodsend_stream
(self)
tests/streams/test_stapled.py:58
Methodsend_stream
(self)
tests/streams/test_stapled.py:164
Methodsend_stream_with_send_nowait
(self)
tests/streams/test_stapled.py:168
Methodsendto
Alias for :meth:`~.UnreliableObjectSendStream.send` ((data, path)).
src/anyio/abc/_sockets.py:370
Methodserve
( self, handler: Callable[[SocketStream], Any], task_group: TaskGroup | None = None,
src/anyio/abc/_sockets.py:270
Methodserve
( self, handler: Callable[[T_Stream], Any], task_group: TaskGroup | None = None )
src/anyio/streams/stapled.py:141
Methodserve
()
tests/test_sockets.py:1501
Methodserve
()
tests/test_sockets.py:2240
Methodserve
()
tests/test_sockets.py:2510
Methodserve
()
tests/test_sockets.py:2924
Methodserve
()
tests/test_sockets.py:3151
Methodserve
()
tests/streams/test_tls.py:75
Methodserve_sync
()
tests/streams/test_tls.py:39
Functionserver
()
tests/streams/test_tls.py:644
Methodserver
()
tests/streams/test_tls.py:158
Methodserver_addr
(self, server_sock: socket.socket)
tests/test_sockets.py:244
← previousnext →1,301–1,400 of 2,553, ranked by callers