Express v1.0.0 Express.APNS.Supervisor View Source
APNS supervisor which owns a connection, spawns workers and sends push messages via workers.
Link to this section Summary
Functions
Sends push_message
with the supervisor
.
Invokes callback_fun
function after a response
Link to this section Functions
Link to this function
push(supervisor, worker_module, push_message, opts, callback_fun)
View Source
push(pid, module, Express.APNS.PushMessage.t, Keyword.t | nil, Express.callback_fun | nil) :: {:noreply, map}
Sends push_message
with the supervisor
.
Invokes callback_fun
function after a response.