View Source Xstate.StateMachine.Context (xstate v0.1.0)

Link to this section Summary

Types

t()

Parameters

Link to this section Types

@type t() :: %Xstate.StateMachine.Context{
  access_time: term(),
  event: term(),
  instance: term(),
  pid: pid(),
  state: term()
}

Parameters:

  • pid : PID (process identifier)
  • event: The event that caused the transition
  • access_time: Access time
  • state: The resolved machine state, after transition
  • instance: Any external value you want to pass it, passed from: external