Xlack.State (xlack v0.1.0) View Source

Xlack state

Link to this section Summary

Functions

Callback implementation for Access.fetch/2.

Callback implementation for Access.pop/2.

Pattern matches against messages and returns updated Xlack state.

Link to this section Functions

Callback implementation for Access.fetch/2.

Link to this function

get(client, key, default)

View Source

See Map.get/3.

Link to this function

get_and_update(client, key, function)

View Source

Callback implementation for Access.get_and_update/3.

Callback implementation for Access.pop/2.

Specs

update(Map, Map) :: {Symbol, Map}

Pattern matches against messages and returns updated Xlack state.