Redis callbacks
This datum is used for assigning callbacks that run when a message is received on a specific channel. Subtypes of this are automatically registered in SSredis initialization
Vars | |
channel | redis channel that this callback subscribes to |
---|---|
Procs | |
on_message | This proc is run when a message is received on the callback's channel. Must be overwritten. |
Var Details
channel
redis channel that this callback subscribes to
Proc Details
on_message
This proc is run when a message is received on the callback's channel. Must be overwritten.
Arguments:
- message - The message received on the redis channel.