Space Station 13 - Modules - TypesVar Details - Proc Details

Redis callback

Callback datum for subscribed redis channel handling

This datum is used for easily assigning callbacks for SSredis to use when a message is receievd on a channel. Define a channel on the channel var and SSredis will automatically register subtypes of /datum/redis_callback

Vars

channelChannel for this callback to listen on

Procs

on_messageMessage handler callback

Var Details

channel

Channel for this callback to listen on

Proc Details

on_message

Message handler callback

This callback is ran when a message is received on the assigned channel. Make sure you override it on subtypes or it wont work.

Arguments: