Readonly canStatic defaultRest ...args: Parameters<ConnectionEventMap[U]>Optional event: "error" | "state" | ConnectionState | "connection error" | "doc" | "pong" | "receive" | "send"Manually send a JSON-serializable message to the server.
WARNING - This is mostly for internal use within sharedb.
Prefer to use methods like Doc#submitOp, Doc#subscribe, Connection#createFetchQuery,
etc., which will manage the necessary message exchanges.
Typed Emitter from: https://github.com/binier/tiny-typed-emitter/
MIT License Copyright (c) 2020 Zurab Benashvili (binier) zura.bena@gmail.com