easy
easy(
connecting):Easy
The simple API (what window.FabiPlay is) on top of a connection: for npm games that prefer named events.
Parameters
Section titled “Parameters”connecting
Section titled “connecting”Promise<Play>
Returns
Section titled “Returns”Example
Section titled “Example”const FabiPlay = easy(connect())FabiPlay.on('jump', () => hop())