Skip to content

WorkerSessionOptions beta ​

Interface of @v12-engine/engine

ts
export interface WorkerSessionOptions extends WorkerGame, Pick<ConnectOptions, 'navigation' | 'maps'>

What a seat at a worker's game is asked for: what to play (WorkerGame), and what connect takes

Members ​

log ​

ts
log?: Logger;

The logger what the world says is said under, in the page: the root one when left out

rules ​

ts
rules: Rules;

The game module's rules the worker's game runs, which the page needs the data of