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


channelChannel for this callback to listen on


on_messageMessage handler callback

Var Details


Channel for this callback to listen on

Proc Details


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.