temporalio.worker.SharedStateManager
class documentation
Base class for a shared state manager providing cross-process-safe primitives for use by activity executors.
Cross-worker use of the shared state manager is encouraged.
create_from_multiprocessing provides the commonly used
implementation.
| Static Method | create |
Create a shared state manager from a multiprocessing manager. |
| Method | new |
Create a threading.Event that can be used across processes. |
| Async Method | register |
Register a heartbeat function. |
| Async Method | unregister |
Unregisters a previously registered heartbeater for the task token. This should also flush any pending heartbeats. |
Create a shared state manager from a multiprocessing manager.
Create a threading.Event that can be used across processes.