Eventful.Activity 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

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

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