API ReferenceJavaScript APIstartMatchmaking()

startMatchmaking

Useful when you want to control when matchmaking starts.

Signature

function startMatchmaking(): Promise<void>

Returns

Promise<void>

Usage

// Insert coin the regular way
await insertCoin({skipLobby: true});
 
// Start matchmaking manually
await startMatchmaking();