PushEx (PushEx v2.1.0)
PushEx context exposes public API functions.
Link to this section Summary
Functions
Returns a child_spec that can be used to start the PushEx web endpoint.
Returns the number of channels connected to this node.
Returns the pids of connected Channel processes.
Returns the number of sockets (transports) connected to this node.
Returns the pids of connected transport processes (Socket processes).
Triggers a Push to be instrumented/enqueued into the system.
Link to this section Functions
child_spec(opts)
Returns a child_spec that can be used to start the PushEx web endpoint.
connected_channel_count()
Specs
connected_channel_count() :: non_neg_integer()
Returns the number of channels connected to this node.
connected_channel_pids()
Returns the pids of connected Channel processes.
connected_socket_count()
Specs
connected_socket_count() :: non_neg_integer()
Returns the number of sockets (transports) connected to this node.
connected_transport_pids()
Returns the pids of connected transport processes (Socket processes).
push(item)
Specs
Triggers a Push to be instrumented/enqueued into the system.