NSQ.Connection.MessageHandling (elixir_nsq v1.2.0)
Summary
Functions
This is the recv loop that we kick off in a separate process immediately after the handshake. We send each incoming NSQ message as an erlang message back to the connection for handling.
Functions
Link to this function
handle_nsq_message(arg, state)
Link to this function
recv_nsq_messages(conn_state, conn)
This is the recv loop that we kick off in a separate process immediately after the handshake. We send each incoming NSQ message as an erlang message back to the connection for handling.
Link to this function
update_conn_stats_on_message_done(state, ret_val)
@spec update_conn_stats_on_message_done(NSQ.Connection.state(), any()) :: any()