OffBroadway.Redis.RedisClient behaviour (OffBroadwayRedis v0.4.3) View Source
A generic behaviour to implement Redis Clients for OffBroadway.Redis.Producer
.
This module defines callbacks to normalize options and receive items from a Redis list.
Modules that implement this behaviour should be passed
as the :redis_client
option from OffBroadway.Redis.Producer
.
Link to this section Summary
Link to this section Types
Specs
messages() :: [Broadway.Message.t()]
Link to this section Callbacks
Specs
Specs
receive_messages(demand :: pos_integer(), opts :: any()) :: messages()