system_registry v0.8.2 SystemRegistry.Processor behaviour
Link to this section Summary
Callbacks
Handles a commit. Takes a transaction and returns {:ok, reply, state} | {:error, reason, state}
Handles a validation. Takes a transaction, and returns {:ok, reply, state} or {:error, reason, state}
Link to this section Functions
Link to this function
call(processors, fun, args)
Link to this function
handle_call(message, from, arg3)
Link to this function
handle_cast(message, arg)
Link to this function
handle_info(message, arg)
Link to this function
init(arg)
Link to this section Callbacks
Link to this callback
handle_commit(arg0, state)
Handles a commit. Takes a transaction and returns {:ok, reply, state} | {:error, reason, state}.
Link to this callback
handle_validate(arg0, state)
Handles a validation. Takes a transaction, and returns {:ok, reply, state} or {:error, reason, state}.