class documentation
Undocumented
Method | __init__ |
Undocumented |
Method | detached |
Detached invocation. |
Method | get |
Undocumented |
Method | lfc |
Local function call. |
Method | lfi |
Local function invocation. |
Method | rfc |
Undocumented |
Method | rfi |
Undocumented |
Method | sleep |
Undocumented |
Instance Variable | _deps |
Undocumented |
@overload
def detached(self, id:
@overloadstr
, coro: Callable[ Concatenate[ Context, P], Generator[ Yieldable, Any, Any]]
, /, *args: P.args
, **kwargs: P.kwargs
) -> DI
:def detached(self, id:
¶
str
, coro: Callable[ Concatenate[ Context, P], Any | Coroutine[ Any, Any, Any]]
, /, *args: P.args
, **kwargs: P.kwargs
) -> DI
:Detached invocation.
Invoke as a root invocation. Is equivalent to do Scheduler.run(...) invoked execution will be retried and managed from the server.
@overload
def lfc(self, func:
@overloadRegisteredFn[ P, Any]
, /, *args: P.args
, **kwargs: P.kwargs
) -> LFC
:def lfc(self, func:
@overloadCallable[ Concatenate[ Context, P], Generator[ Yieldable, Any, Any]]
, /, *args: P.args
, **kwargs: P.kwargs
) -> LFC
:def lfc(self, func:
¶
Callable[ Concatenate[ Context, P], Any | Coroutine[ Any, Any, Any]]
, /, *args: P.args
, **kwargs: P.kwargs
) -> LFC
:Local function call.
LFC and await for the result of the execution. It's syntax sugar for yield (yield ctx.lfi(...))
@overload
def lfi(self, func:
@overloadRegisteredFn[ P, Any]
, /, *args: P.args
, **kwargs: P.kwargs
) -> LFI
:def lfi(self, func:
@overloadCallable[ Concatenate[ Context, P], Generator[ Yieldable, Any, Any]]
, /, *args: P.args
, **kwargs: P.kwargs
) -> LFI
:def lfi(self, func:
¶
Callable[ Concatenate[ Context, P], Any | Coroutine[ Any, Any, Any]]
, /, *args: P.args
, **kwargs: P.kwargs
) -> LFI
:Local function invocation.
Invoke and immediatelly receive a Promise[T] that represents the future result of the execution.
The Promise
can be yielded later in the execution to await
for the result.
@overload
@overload
@overload
def rfc(self, func:
@overloadRegisteredFn[ P, Any]
, /, *args: P.args
, **kwargs: P.kwargs
) -> RFC
:def rfc(self, func:
@overloadstr
, /, *args: Any
, **kwargs: Any
) -> RFC
:def rfc(self, func:
@overloadCallable[ Concatenate[ Context, P], Generator[ Yieldable, Any, Any]]
, /, *args: P.args
, **kwargs: P.kwargs
) -> RFC
:def rfc(self, func:
¶
Callable[ Concatenate[ Context, P], Any | Coroutine[ Any, Any, Any]]
, /, *args: P.args
, **kwargs: P.kwargs
) -> RFC
:Undocumented
@overload
@overload
@overload
def rfi(self, func:
@overloadRegisteredFn[ P, Any]
, /, *args: P.args
, **kwargs: P.kwargs
) -> RFI
:def rfi(self, func:
@overloadstr
, /, *args: Any
, **kwargs: Any
) -> RFI
:def rfi(self, func:
@overloadCallable[ Concatenate[ Context, P], Generator[ Yieldable, Any, Any]]
, /, *args: P.args
, **kwargs: P.kwargs
) -> RFI
:def rfi(self, func:
¶
Callable[ Concatenate[ Context, P], Any | Coroutine[ Any, Any, Any]]
, /, *args: P.args
, **kwargs: P.kwargs
) -> RFI
:Undocumented