Inngest.Function.Context (Inngest v0.3.0)

Copy Markdown View Source

Context to be passed to steps in functions.

Summary

Types

t()

@type t() :: %Inngest.Function.Context{
  attempt: number(),
  client: Inngest.Client.t() | nil,
  data: map(),
  disable_immediate_execution: boolean(),
  function: module() | nil,
  index: :ets.tid(),
  middleware: [Inngest.Middleware.normalized_entry()],
  request: term() | nil,
  run_id: binary(),
  stack: map() | nil,
  steps: map(),
  target_step_id: binary()
}