Skip to main content

Function: installRuntime()

installRuntime(options, log?): RuntimeInstallResult

Defined in: src/observability/runtime.ts:62

Install the process-wide SDK Runtime from the runtime module option. Idempotent: the first call wins, later calls are no-ops. Must run before any client or worker exists; if the SDK already created its default Runtime, logs a warning and leaves it untouched.

Parameters​

options​

TemporalRuntimeOptions | undefined

log?​

warn​

Returns​

RuntimeInstallResult