UNPKG

mudb

Version:

Real-time database for multiplayer games

15 lines (14 loc) 387 B
import { MuSchema } from '../schema/schema'; import { MuClient } from '../client'; export declare class MuDeltaClient<Schema extends MuSchema<any>> { private _schema; private _protocol; private _state; constructor(spec: { client: MuClient; schema: Schema; }); configure(spec: { change: (state: Schema['identity']) => void; }): void; }