View Source Pistis.Machine behaviour (pistis v0.1.0)

Link to this section Summary

Link to this section Types

@type machine_state() :: any()

Link to this section Callbacks

@callback initial_state() :: machine_state()
Link to this callback

process_command(tuple, machine_state)

View Source
@callback process_command(tuple(), machine_state()) :: Pistis.Machine.Response.t()