UNPKG

@terrencecrowley/ot-js

Version:
23 lines (22 loc) 633 B
import * as LogAbstract from "@terrencecrowley/logabstract"; import * as Context from "@terrencecrowley/context"; interface TestEnv { context: Context.IContext; log: LogAbstract.ILog; } import * as OTC from "../lib/otcomposite"; import * as OTTestClient from "./ottestclient"; export declare class OTTestServer { private env; private engine; private clients; private editQueue; constructor(env: TestEnv); addClient(client: OTTestClient.OTTestClient): void; receive(edit: OTC.OTCompositeResource): void; private findClient; tick(): void; drain(): void; toValue(): any; } export {};