PushEx v1.0.0-rc8 PushEx

PushEx context exposes public API functions.

Link to this section Summary

Functions

Returns the number of channels connected to this node.

Returns the number of sockets (transports) connected to this node.

Triggers a Push to be instrumented/enqueued into the system.

Link to this section Functions

Link to this function

connected_channel_count()
connected_channel_count() :: non_neg_integer()

Returns the number of channels connected to this node.

Link to this function

connected_socket_count()
connected_socket_count() :: non_neg_integer()

Returns the number of sockets (transports) connected to this node.

Link to this function

push(item)
push(%PushEx.Push{channel: term(), data: term(), event: term(), unix_ms: term()}) ::
  true

Triggers a Push to be instrumented/enqueued into the system.