RIG.Session.Connection (Reactive Interaction Gateway v3.0.0-alpha.2) View Source

Associate a connection to a session, and terminate sessions along with their associated connections.

Link to this section Summary

Functions

Associates a connection process with a session name.

Tells all connection processes associated with a session name to terminate.

Link to this section Functions

Link to this function

associate_session(pid, session_id)

View Source

Specs

associate_session(pid :: pid(), session_id :: String.t()) :: :ok

Associates a connection process with a session name.

Link to this function

terminate_all_associated_to(session_id)

View Source

Specs

terminate_all_associated_to(session_id :: String.t()) :: :ok

Tells all connection processes associated with a session name to terminate.