void onTimeout=(void callback())

Sets a callback that will be called when the session is timed out.

Source

void set onTimeout(void callback());