comlink-adapters
Version:
Implementation of comlink adapters for different application platforms
6 lines (5 loc) • 372 B
TypeScript
export declare const MESSAGE_CHANNEL_NAME = "__COMLINK_MESSAGE_CHANNEL__";
export declare const MESSAGE_PORT_MARKER = "__COMLINK_MESSAGE_PORT_MARKER__";
export declare const MESSAGE_EVENT_NAME = "message";
export declare const MESSAGE_EVENT_ERROR = "Only message event is supported";
export declare const PROXY_MESSAGE_CHANNEL_MARKER = "__PROXY_MESSAGE_CHANNEL_MARKER__";