View Source ExTwelveData.RealTimePrices.SubscriptionsManager.Provider behaviour (ExTwelveData v0.4.0)

Implement the Provider behaviour to use the SubscriptionsManager.

It should return a set containing Twelve Data symbols that the user wants to subscribe to.

Summary

Callbacks

Invoked by the subscriptions manager.

Callbacks

@callback get_symbols() :: MapSet.t(String.t())

Invoked by the subscriptions manager.

Shoud provide the set of Twelve Data symbols to subscribe to at this point in time.