temporalio.worker.WorkflowInstance

Return the thread identifier that this workflow is running on.

Not an abstractmethod because it is not mandatory to implement. Used primarily for getting the frames of a deadlocked thread.

Returns
int | NoneThread ID if the workflow is running, None if not.