class documentation
class _ActivityWorker: (source)
Constructor: _ActivityWorker(bridge_worker, task_queue, activities, activity_executor, ...)
Undocumented
Method | __init__ |
Undocumented |
Async Method | drain |
Undocumented |
Method | notify |
Undocumented |
Async Method | run |
Undocumented |
Async Method | wait |
Undocumented |
Method | _cancel |
Undocumented |
Method | _heartbeat |
Undocumented |
Async Method | _heartbeat |
Undocumented |
Async Method | _run |
Undocumented |
Instance Variable | _activities |
Undocumented |
Instance Variable | _activity |
Undocumented |
Instance Variable | _bridge |
Undocumented |
Instance Variable | _data |
Undocumented |
Instance Variable | _dynamic |
Undocumented |
Instance Variable | _fail |
Undocumented |
Instance Variable | _interceptors |
Undocumented |
Instance Variable | _metric |
Undocumented |
Instance Variable | _running |
Undocumented |
Instance Variable | _seen |
Undocumented |
Instance Variable | _shared |
Undocumented |
Instance Variable | _task |
Undocumented |
Instance Variable | _worker |
Undocumented |
def __init__(self, *, bridge_worker:
Callable[ [], temporalio.bridge.worker.Worker]
, task_queue: str
, activities: Sequence[ Callable]
, activity_executor: Optional[ concurrent.futures.Executor]
, shared_state_manager: Optional[ SharedStateManager]
, data_converter: temporalio.converter.DataConverter
, interceptors: Sequence[ Interceptor]
, metric_meter: temporalio.common.MetricMeter
):
(source)
¶
Undocumented
def _cancel(self, task_token:
bytes
, cancel: temporalio.bridge.proto.activity_task.Cancel
):
(source)
¶
Undocumented
async def _heartbeat_async(self, logger:
logging.LoggerAdapter
, activity: _RunningActivity
, task_token: bytes
):
(source)
¶
Undocumented
async def _run_activity(self, task_token:
bytes
, start: temporalio.bridge.proto.activity_task.Start
, running_activity: _RunningActivity
):
(source)
¶
Undocumented