off_broadway_beanstalkd v0.1.0 OffBroadwayBeanstalkd.BeanstalkdClient behaviour
A generic behaviour to implement Beanstalkd Clients for OffBroadwayBeanstalkd.Producer
.
This module defines callbacks to normalize options and receive message
from a SQS queue. Modules that implement this behaviour should be passed
as the :beanstalkd_client
option from OffBroadwayBeanstalkd.Producer
.
Link to this section Summary
Link to this section Types
Link to this type
messages()
Specs
messages() :: [Broadway.Message.t()]
Link to this section Callbacks
Link to this callback
init(opts)
Specs
Link to this callback
receive_messages(demand, opts)
Specs
receive_messages(demand :: pos_integer(), opts :: any()) :: messages()