GameRoom.onStop() method

listen to game stop notifications from the server

Signature:

onStop(listener: (data: any) => unknown): () => void;

Parameters

Parameter

Type

Description

listener

(data: any) => unknown

**Returns:**

() => void