PacketFlow.Context behaviour (packetflow v0.1.0)

Summary

Callbacks

compose(context1, context2, strategy)

@callback compose(context1 :: struct(), context2 :: struct(), strategy :: atom()) ::
  struct()

new(attrs)

@callback new(attrs :: keyword()) :: struct()

propagate(context, target_module)

@callback propagate(context :: struct(), target_module :: module()) :: struct()

Functions

empty()