Mobus.Stepwise.ProfileBehaviour behaviour (mobus_stepwise v0.3.0)

Copy Markdown View Source

Internal behaviour for profile-specific runtime implementations.

Summary

Callbacks

checkpoint(runtime)

@callback checkpoint(Mobus.Stepwise.Types.runtime()) :: map()

get_state(runtime)

handle_event(runtime, event, payload)

init(spec, runtime_context)

restore(spec, map, runtime_context)