Glific v0.3.1 Glific.Processor.Producer View Source
This producer is linked to the message receiving end and gets messages from the external world in the message structure
Link to this section Summary
Functions
public endpoint for adding a new message or a set of messages
push a message to all consumers on adding
ignore all requests from consumers via demand call
Link to this section Functions
Specs
add([Glific.Messages.Message.t()]) :: :ok
add(Glific.Messages.Message.t()) :: :ok
public endpoint for adding a new message or a set of messages
Specs
handle_cast({:add, [Glific.Messages.Message.t()]}, map()) :: {:noreply, [Glific.Messages.Message.t()], map()}
push a message to all consumers on adding
Specs
ignore all requests from consumers via demand call