ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

module documentation

Represent a background task that can be executed asynchronously.

Function is_async_callable Detect coroutine functions and callable instances with asynchronous calls.
def is_async_callable(func: object) -> bool: (source)

Detect coroutine functions and callable instances with asynchronous calls.

Parameters
func:objectCallable to inspect. Partial objects are unwrapped first, and instances are inspected through their __call__.
Returns
boolTrue for a declared asynchronous callable. Synchronous factories that return awaitables remain synchronous for dispatch purposes.