Temporalex.Runtime (Temporalex v0.2.0)

Copy Markdown View Source

Singleton GenServer holding the Temporal CoreRuntime + Tokio runtime.

Auto-started by the Temporalex OTP application. All workers share a single runtime — obtain it with get/0.

Summary

Functions

Returns a specification to start this module under a supervisor.

Returns the RuntimeResource handle.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

get()

Returns the RuntimeResource handle.

start_link(opts \\ [])