class documentation
Undocumented
| Method | __init__ |
Undocumented |
| Method | get |
Undocumented |
| Method | rpc |
Undocumented |
| Method | run |
Undocumented |
| Method | start |
Undocumented |
| Method | start |
Undocumented |
| Method | stop |
Stop internal components and threads. Intended for use only within the resonate class. |
| Method | subscribe |
Undocumented |
| Method | _handle |
Add a command to the delay queue. |
| Method | _handle |
Undocumented |
| Method | _heartbeat |
Undocumented |
| Method | _process |
Undocumented |
| Method | _process |
Undocumented |
| Method | _process |
Undocumented |
| Method | _stop |
Stop internal components and threads. Does not join the threads, to be able to call it from the bridge itself. |
| Instance Variable | _anycast |
Undocumented |
| Instance Variable | _bridge |
Undocumented |
| Instance Variable | _cq |
Undocumented |
| Instance Variable | _ctx |
Undocumented |
| Instance Variable | _delay |
Undocumented |
| Instance Variable | _delay |
Undocumented |
| Instance Variable | _delay |
Undocumented |
| Instance Variable | _heartbeat |
Undocumented |
| Instance Variable | _heartbeat |
Undocumented |
| Instance Variable | _message |
Undocumented |
| Instance Variable | _message |
Undocumented |
| Instance Variable | _opts |
Undocumented |
| Instance Variable | _pid |
Undocumented |
| Instance Variable | _processor |
Undocumented |
| Instance Variable | _promise |
Undocumented |
| Instance Variable | _registry |
Undocumented |
| Instance Variable | _scheduler |
Undocumented |
| Instance Variable | _shutdown |
Undocumented |
| Instance Variable | _store |
Undocumented |
| Instance Variable | _ttl |
Undocumented |
| Instance Variable | _unicast |
Undocumented |
def __init__(self, ctx:
Callable[ [ str, str, Info], Context], pid: str, ttl: int, opts: Options, workers: int | None, unicast: str, anycast: str, registry: Registry, store: Store, message_source: MessageSource):
¶
Undocumented
def run(self, conv:
Convention, func: Callable, args: tuple, kwargs: dict, opts: Options, future: Future) -> DurablePromise:
¶
Undocumented
Add a command to the delay queue.
Uses a threading.condition to synchronize access to the underlaying delay_q.
def _handle_network_request(self, cmd_id:
str, cid: str, req: CreatePromiseReq | ResolvePromiseReq | RejectPromiseReq | CancelPromiseReq | CreateCallbackReq) -> Command:
¶
Undocumented