Skip to content

Typing

ReAsyncCallable = Callable[P, ReAwaitable[R]] module-attribute

Represents re-awaitable callables (**P) -> ReAwaitable[R].

FutureCallable = Callable[P, Future[R]] module-attribute

Represents future callables (**P) -> Future[R].

FutureNullary = Nullary[Future[R]] module-attribute

Represents future nullary functions () -> Future[R].

FutureUnary = Unary[T, Future[R]] module-attribute

Represents future unary functions (T) -> Future[R].

FutureBinary = Binary[T, U, Future[R]] module-attribute

Represents future binary functions (T, U) -> Future[R].

FutureTernary = Ternary[T, U, V, Future[R]] module-attribute

Represents future ternary functions (T, U, V) -> Future[R].

FutureQuaternary = Quaternary[T, U, V, W, Future[R]] module-attribute

Represents future quaternary functions (T, U, V, W) -> Future[R].

FutureOptionCallable = Callable[P, FutureOption[T]] module-attribute

Represents future option callables (**P) -> FutureOption[T].

FutureResultCallable = Callable[P, FutureResult[T, E]] module-attribute

Represents future result callables (**P) -> FutureResult[T, E].

FutureEitherCallable = Callable[P, FutureEither[L, R]] module-attribute

Represents future either callables (**P) -> FutureEither[L, R].