GameRoom.onStart() method

listen to game start notifications from the server

Signature:

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

Parameters

Parameter

Type

Description

listener

(data: any) => unknown

**Returns:**

() => void