Eventful.Transit protocol (eventful v3.1.0)

Link to this section Summary

Link to this section Types

@type t() :: term()

Link to this section Functions

Link to this function

perform(resource, actor, event_name, options \\ [])

@spec perform(struct(), struct(), binary(), Keyword.t()) ::
  {:ok, %Eventful.Transition{event: term(), resource: term(), trigger: term()}}
  | {:error, %Eventful.Error{code: term(), data: term(), message: term()}}