class documentation
class Scheduler(IScheduler):
Constructor: Scheduler(deps, pid, registry, store, ...)
Undocumented
Method | __init__ |
Undocumented |
Method | get |
Undocumented |
Method | run |
Undocumented |
Method | start |
Undocumented |
Method | stop |
Undocumented |
Method | _add |
Undocumented |
Method | _add |
Undocumented |
Method | _blocked |
Undocumented |
Method | _complete |
Undocumented |
Method | _get |
Undocumented |
Method | _handle |
Undocumented |
Method | _handle |
Undocumented |
Method | _handle |
Undocumented |
Method | _handle |
Undocumented |
Method | _handle |
Undocumented |
Method | _handle |
Undocumented |
Method | _handle |
Undocumented |
Method | _handle |
Undocumented |
Method | _heartbeat |
Undocumented |
Method | _loop |
Undocumented |
Method | _process |
Undocumented |
Method | _process |
Undocumented |
Method | _process |
Undocumented |
Method | _process |
Undocumented |
Method | _process |
Undocumented |
Method | _process |
Undocumented |
Method | _process |
Undocumented |
Method | _process |
Undocumented |
Method | _process |
Undocumented |
Method | _step |
Undocumented |
Method | _stop |
Undocumented |
Method | _unblock |
Undocumented |
Method | _unblock |
Undocumented |
Instance Variable | _awaiting |
Undocumented |
Instance Variable | _awaiting |
Undocumented |
Instance Variable | _cmd |
Undocumented |
Instance Variable | _delay |
Undocumented |
Instance Variable | _deps |
Undocumented |
Instance Variable | _encoder |
Undocumented |
Instance Variable | _heartbeat |
Undocumented |
Instance Variable | _pid |
Undocumented |
Instance Variable | _processor |
Undocumented |
Instance Variable | _records |
Undocumented |
Instance Variable | _recv |
Undocumented |
Instance Variable | _registry |
Undocumented |
Instance Variable | _scheduler |
Undocumented |
Instance Variable | _store |
Undocumented |
Instance Variable | _subsriptions |
Undocumented |
Instance Variable | _task |
Undocumented |
def __init__(self, deps:
Dependencies
, pid: str
, registry: FunctionRegistry
, store: LocalStore | RemoteStore
, task_source: ITaskSource
):
¶
Undocumented
def run(self, id:
str
, func: DurableCoro[ P, T] | DurableFn[ P, T]
, /, *args: P.args
, **kwargs: P.kwargs
) -> Handle[ T]
:
¶
overrides
resonate.scheduler.traits.IScheduler.run
Undocumented
def _process_final_value(self, record:
Record[ Any]
, final_value: Result[ Any, Exception]
) -> list[ Command]
:
¶
Undocumented