SquidMesh.Runtime.Runner (squid_mesh v0.1.0-alpha.7)

Copy Markdown View Source

Backend-neutral runtime entrypoints for host executors.

Executor jobs should call these functions when queued work is delivered.

Summary

Functions

execute_compensation(run_id, overrides \\ [])

@spec execute_compensation(
  Ecto.UUID.t(),
  keyword()
) :: :ok | {:error, term()}

execute_step(run_id, step, overrides \\ [])

@spec execute_step(Ecto.UUID.t(), atom() | String.t(), keyword()) ::
  :ok | {:error, term()}

perform(args, overrides \\ [])

@spec perform(
  map(),
  keyword()
) :: :ok | {:error, term()}

start_cron_trigger(workflow_name, trigger_name, overrides \\ [])

@spec start_cron_trigger(String.t(), String.t(), keyword()) :: :ok | {:error, term()}