temporalio.bridge.runtime.Runtime
class documentation

class Runtime: (source)

Constructor: Runtime(options)

View In Hierarchy

Runtime for SDK Core.

def __init__(self, *, options: RuntimeOptions): (source)

Create SDK Core runtime.

def retrieve_buffered_metrics(self, durations_as_seconds: bool) -> Sequence[Any]: (source)

Get buffered metrics.

def write_test_debug_log(self, message: str, extra_data: str): (source)

Write a test core log at DEBUG level.

def write_test_info_log(self, message: str, extra_data: str): (source)

Write a test core log at INFO level.

def _raise_in_thread(thread_id: int, exc_type: type[BaseException]) -> bool: (source)

Internal helper for raising an exception in thread.

Undocumented