PacketFlow.Intent behaviour (packetflow v0.1.0)

Summary

Callbacks

required_capabilities(intent)

@callback required_capabilities(intent :: any()) :: [module()]

to_effect(intent, opts)

@callback to_effect(intent :: any(), opts :: keyword()) :: PacketFlow.Effect.t()

to_reactor_message(intent, opts)

@callback to_reactor_message(intent :: any(), opts :: keyword()) ::
  PacketFlow.Reactor.Message.t()