Temporalex.Worker.Server (Temporalex v0.2.0)

Copy Markdown View Source

GenServer that owns the Temporal connection and worker.

Receives push-based messages from NIF poll loops:

  • {:workflow_activation, bytes} — decoded and routed to executors
  • {:activity_task, bytes} — decoded, activity implementation looked up and spawned

Activity completions are sent directly to the NIF. Workflow completions are handled by executors (production executor comes in next phase).

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(config)