Skip to content

onNewGameVersion beta ​

Function of @v12-engine/engine

ts
export declare function onNewGameVersion(listener: (game: Rules) => void): () => void;

Hears of every new version of a game's rules taken in the page (hotRules). Returns what stops it