Teac.Scopes.Bits (teac v0.2.0)

View Source

Bits and cheering related scopes

Summary

Functions

Returns the entire map of scope atoms to scope strings.

Returns a list of all valid scope atoms.

Returns a list of all valid scope strings.

Retrieves the scope string corresponding to the given atom key.

View Bits information for a channel.

Functions

all()

Returns the entire map of scope atoms to scope strings.

all_keys()

Returns a list of all valid scope atoms.

all_values()

Returns a list of all valid scope strings.

get(key)

Retrieves the scope string corresponding to the given atom key.

Examples

iex> YourModule.get(:example_key)
"example:scope"

read()

View Bits information for a channel.

API:

EventSub: