View Source ebus_serializer behaviour (ebus v0.3.0)

This is an Erlang clone of the original Phoenix.Transports.Serializer module. Copyright (c) 2014 Chris McCord

Link to this section Summary

Link to this section Callbacks

-callback decode(binary(), [{atom(), term()}]) -> ebus_message:t().
-callback encode(ebus_message:t() | ebus_reply:t()) -> term().
-callback fastlane(ebus_broadcast:t()) -> term().