Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agronholm/anyio
/ functions
Functions
2,553 in github.com/agronholm/anyio
⨍
Functions
2,553
◇
Types & classes
300
↳
Endpoints
18
Function
_operator_add
(x: T, y: T)
src/anyio/itertools.py:146
Method
_parent_cancellation_is_visible_to_us
(self)
src/anyio/_backends/_asyncio.py:586
Method
_raw_socket
(self)
src/anyio/abc/_sockets.py:176
Method
_raw_socket
(self)
src/anyio/_backends/_asyncio.py:1416
Method
_raw_socket
(self)
src/anyio/_backends/_asyncio.py:1514
Method
_raw_socket
(self)
src/anyio/_backends/_asyncio.py:1680
Method
_raw_socket
(self)
src/anyio/_backends/_asyncio.py:1777
Method
_raw_socket
(self)
src/anyio/_backends/_asyncio.py:1792
Method
_raw_socket
(self)
src/anyio/_backends/_asyncio.py:1855
Method
_raw_socket
(self)
src/anyio/_backends/_trio.py:462
Method
_relpath_list
( self, real_path: Path, path: AsyncIterable[Path] )
tests/test_fileio.py:529
Method
_report_result
( self, future: asyncio.Future, result: Any, exc: BaseException | None )
src/anyio/_backends/_asyncio.py:1092
Method
_run_tests_and_fixtures
(self)
src/anyio/_backends/_trio.py:989
Method
_semaphore
(self)
src/anyio/_core/_synchronization.py:499
Function
_shutdown_process_pool
(workers: set[abc.Process])
src/anyio/_backends/_trio.py:432
Method
_stop
(self)
src/anyio/_core/_asyncio_selector_thread.py:48
Function
_stop_workers
(workers: deque[_Worker])
src/anyio/to_interpreter.py:167
Function
_unset
(t: asyncio.Task[Any])
src/anyio/_backends/_asyncio.py:326
Method
accept
(self)
src/anyio/_backends/_asyncio.py:1739
Method
accept
(self)
src/anyio/_backends/_trio.py:601
Method
accept
()
tests/test_sockets.py:2059
Method
aclose
(self)
src/anyio/streams/stapled.py:55
Method
aclose
(self)
src/anyio/streams/stapled.py:101
Method
aclose
(self)
src/anyio/streams/text.py:79
Method
aclose
(self)
src/anyio/streams/text.py:116
Method
aclose
(self)
src/anyio/streams/memory.py:183
Method
aclose
(self)
src/anyio/streams/memory.py:336
Method
aclose
(self)
src/anyio/streams/tls.py:396
Method
aclose
(self)
src/anyio/streams/file.py:41
Method
aclose
(self)
src/anyio/_backends/_asyncio.py:1179
Method
aclose
(self)
src/anyio/_backends/_asyncio.py:1209
Method
aclose
(self)
src/anyio/_backends/_asyncio.py:1497
Method
aclose
(self)
src/anyio/_backends/_asyncio.py:1537
Method
aclose
(self)
src/anyio/_backends/_asyncio.py:1712
Method
aclose
(self)
src/anyio/_backends/_asyncio.py:1762
Method
aclose
(self)
src/anyio/_backends/_asyncio.py:1795
Method
aclose
(self)
src/anyio/_backends/_asyncio.py:1858
Method
aclose
(self)
src/anyio/_backends/_trio.py:345
Method
aclose
(self)
src/anyio/_backends/_trio.py:361
Method
aclose
(self)
src/anyio/_backends/_trio.py:465
Method
aclose
(self)
tests/streams/test_stapled.py:37
Method
aclose
(self)
tests/streams/test_stapled.py:126
Method
aclose
(self)
tests/streams/test_stapled.py:141
Method
acquire
Acquire the lock.
src/anyio/_core/_synchronization.py:242
Method
acquire
(self)
src/anyio/_core/_synchronization.py:509
Method
acquire
Acquire a token for the current task, waiting if necessary for one to become available.
src/anyio/_core/_synchronization.py:607
Method
acquire
(self)
src/anyio/_core/_synchronization.py:724
Method
acquire
(self)
src/anyio/_backends/_asyncio.py:2026
Method
acquire
(self)
src/anyio/_backends/_asyncio.py:2124
Method
acquire
()
tests/test_synchronization.py:543
Method
acquire
()
tests/test_synchronization.py:874
Method
acquire_nowait
Acquire the lock, without blocking. :raises ~anyio.WouldBlock: if the operation would block
src/anyio/_core/_synchronization.py:246
Method
acquire_nowait
Acquire the underlying lock, without blocking. :raises ~anyio.WouldBlock: if the operation would block
src/anyio/_core/_synchronization.py:442
Method
acquire_nowait
(self)
src/anyio/_core/_synchronization.py:512
Method
acquire_nowait
Acquire a token for the current task without waiting for one to become available. :raises ~anyio.WouldBlock: if there are no
src/anyio/_core/_synchronization.py:587
Method
acquire_nowait
(self)
src/anyio/_core/_synchronization.py:718
Method
acquire_nowait
(self)
src/anyio/_backends/_asyncio.py:2062
Method
acquire_nowait
(self)
src/anyio/_backends/_asyncio.py:2155
Method
acquire_nowait
(self)
src/anyio/_backends/_asyncio.py:2246
Method
acquire_on_behalf_of
(self, borrower: object)
src/anyio/_core/_synchronization.py:727
Method
acquire_on_behalf_of_nowait
(self, borrower: object)
src/anyio/_core/_synchronization.py:721
Method
acquirer
(scope: AbstractContextManager[CancelScope])
tests/test_synchronization.py:421
Method
after_run
(self)
src/anyio/_backends/_trio.py:423
Method
always_false
(value: int)
tests/test_itertools.py:508
Method
always_true
(value: int)
tests/test_itertools.py:512
Method
anchor
(self)
src/anyio/_core/_fileio.py:441
Function
anyio_backend
(request: Any)
src/anyio/pytest_plugin.py:310
Function
anyio_backend
(request: SubRequest)
tests/conftest.py:134
Function
anyio_backend
(request: pytest.FixtureRequest)
docs/snippets/testing/backend_fixture.py:16
Function
anyio_backend_name
(anyio_backend: Any)
src/anyio/pytest_plugin.py:315
Function
anyio_backend_options
(anyio_backend: Any)
src/anyio/pytest_plugin.py:323
Method
args_iterable
(a: int, b: int)
tests/test_itertools.py:877
Function
async_add
(a: int, b: int)
tests/test_from_thread.py:54
Function
async_add
(value: str)
tests/test_taskgroups.py:73
Function
async_error
(text: str, delay: float = 0.1)
tests/test_taskgroups.py:54
Function
async_func
()
docs/snippets/threads/blocking_portal.py:5
Function
async_func
()
docs/snippets/threads/start_blocking_portal.py:4
Method
async_func
()
tests/test_from_thread.py:265
Method
async_get_thread_id
()
tests/test_from_thread.py:681
Function
async_time_bomb
()
tests/test_from_thread.py:134
Method
asyncfunc
()
tests/test_from_thread.py:185
Method
asyncgen
()
tests/test_functools.py:462
Method
asyncgen
()
tests/test_itertools.py:174
Method
asyncgen
()
tests/test_itertools.py:202
Function
asyncio_event_loop
()
tests/conftest.py:164
Method
available_tokens
The number of tokens currently available to be borrowed
src/anyio/_core/_synchronization.py:583
Method
available_tokens
(self)
src/anyio/_core/_synchronization.py:712
Method
available_tokens
(self)
src/anyio/_backends/_asyncio.py:2236
Method
available_tokens
(self)
src/anyio/_backends/_trio.py:888
Method
block_event_loop
()
tests/test_from_thread.py:547
Function
blockbuster
()
tests/conftest.py:106
Function
blocking_function
()
docs/snippets/threads/call_async_from_thread.py:4
Method
borrowed_tokens
The number of tokens that have currently been borrowed.
src/anyio/_core/_synchronization.py:578
Method
borrowed_tokens
(self)
src/anyio/_core/_synchronization.py:705
Method
borrowed_tokens
(self)
src/anyio/_backends/_asyncio.py:2232
Method
borrowed_tokens
(self)
src/anyio/_backends/_trio.py:884
Method
borrower
( event: Event, *, task_status: TaskStatus[CancelScope] )
tests/test_synchronization.py:1019
Method
buffer
The bytes currently in the buffer.
src/anyio/streams/buffered.py:46
Function
ca
()
tests/conftest.py:139
Function
ca
()
docs/snippets/streams/tls_trustme_fixtures.py:8
← previous
next →
801–900 of 2,553, ranked by callers