onDisconnected( )


Adds an event handler that runs when a disconnection occurs.

A disconnection can occur, for example, if there is a network issue.

メソッド宣言
コピー
メソッド・パラメータ
handlerfunctionRequired

handler(): void The name of the function or the function expression to run when a disconnection occurs.

役に立ちましたか?
はい
いいえ