SimpAttributes.registerDestructionCallback

Register a callback to execute on destruction of the specified attribute. The callback is executed when the session is closed. @param name the name of the attribute to register the callback for @param callback the destruction callback to be executed

class SimpAttributes
void
registerDestructionCallback
(
string name
,
Runnable callback
)

Meta