Game.onReady method

Sets the handler for when the game has finished loading and is ready to play.

Signature

onReady(handler: (gameId: string) => void): void;

Parameters

Name Type Optional Description
handler (gameId: string) => void No

Returns

void