Firefighter.Execution behaviour (firefighter v0.3.1)

Link to this section Summary

Link to this section Types

Specs

execution() :: %Firefighter.Execution{
  data: term(),
  elapsed: term(),
  event_time: term(),
  event_uuid: term()
}

Link to this section Functions

Link to this function

push(execution, id)

Link to this function

record(execution, ids)

Link to this function

record_many(execution, name, list_of_ids)

Link to this section Callbacks

Link to this callback

hose(pid, data)

Specs

hose(pid :: any(), data :: map()) :: execution()
Link to this callback

push(exec, pid)

Specs

push(exec :: execution(), pid :: any()) :: execution()
Link to this callback

record(exec, data)

Specs

record(exec :: execution(), data :: map()) :: execution()
Link to this callback

record_many(exec, name, data)

Specs

record_many(exec :: execution(), name :: binary(), data :: list() | map()) ::
  execution()

Specs

start(data :: map()) :: execution()