Beeline.as_subscription_event

You're seeing just the function as_subscription_event, go back to Beeline module for more information.
Link to this function

as_subscription_event(event, producer)

View Source

Specs

as_subscription_event(map(), atom()) :: {atom(), map()}

Wraps an event in a subscription event packet

This can be useful for building test events to pass through the dummy producer.