@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
23 lines • 668 B
TypeScript
export class RemoteController {
/**
*
* @param {string} tag
* @param {function(BinaryBuffer):Promise} handler
* @param {*} thisArg
*/
addHandler(tag: string, handler: (arg0: BinaryBuffer) => Promise<any>, thisArg: any): void;
/**
* NOTE: entire buffer contents will be sent up to current position
* @param {string} tag
* @param {BinaryBuffer} data
*/
send(tag: string, data: BinaryBuffer): void;
/**
*
* @param {WebSocket} v
*/
set socket(arg: WebSocket);
#private;
}
import { BinaryBuffer } from "../../core/binary/BinaryBuffer.js";
//# sourceMappingURL=RemoteController.d.ts.map