Scenic.PubSub.get

You're seeing just the function get, go back to Scenic.PubSub module for more information.

Specs

get(source_id :: atom()) :: any() | nil

Retrieve the cached data value for a named data source.

This data is pulled from an :ets table and does not put load on the data source itself.

Parameters

  • source_id an atom that is registered to a data source.

Return Value

  data

If the data source is either not registered, or has not yet published any data, get returns

  nil