View Source XGPS.Example.Consumer (Elixir.XGPS v0.7.0)

The GenEvent handler implementation is a simple consumer.

Link to this section Summary

Functions

This function will be called once for each report from the GPS.

Callback implementation for GenStage.init/1.

Link to this section Functions

Link to this function

handle_events(events, from, state)

View Source

This function will be called once for each report from the GPS.

Callback implementation for GenStage.init/1.