Beeline.decode_event

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

decode_event(subscription_event)

View Source

Decodes the body of a subscription event

This function performs JSON decoding if necessary and converts maps with string keys into maps keyed by atoms. This This can potentially lead to atom exhaustion, but the allowed atom count is quite high and usually this concern is only theoretical.

Examples

@impl GenStage
def handle_events([subscription_event], _from, state) do
  event = Beeline.decode_event(subscription_event)
  # ..