Crosswake.Companions.Chimeway.IntentConsumer behaviour (crosswake v0.1.2)

View Source

Behaviour for host registry/resolver to implement intent and state checks for notification opens.

Summary

Callbacks

Consume and resolve a notification open intent.

Callbacks

consume_intent(t)

@callback consume_intent(
  Crosswake.Companions.Chimeway.Contracts.NotificationOpenEvidence.t()
) ::
  {:ok, Crosswake.Companions.Chimeway.Contracts.OpenResolution.t()}
  | {:error, map() | keyword()}

Consume and resolve a notification open intent.