Skip to content

LobbyOptions beta ​

Interface of @v12-engine/client

ts
export interface LobbyOptions

What a lobby is made with: where its name is kept, how it connects, and where the app keeps things

Members ​

open ​

ts
open?: (url: string) => Promise<Transport>;

Opens a connection to a server: a WebSocket when left out

settingsStore ​

ts
settingsStore?: SettingsStore;

Where the name is kept: the browser's settings when left out (launch({ settings: { store } })'s)

storage ​

ts
storage?: KeptStorage | (() => KeptStorage);

Where the app keeps things (its seat's token, the name): its runtime's, or what gives it as it is asked (a lobby made with its scene, before the app it opens in); the page's when left out