@ayonli/jsext
Version:
A JavaScript extension package for building strong and modern applications.
12 lines (11 loc) • 364 B
TypeScript
import { CallRequest, CallResponse, ChannelMessage } from "./types.ts";
/**
* @ignore
* @internal
*/
export declare function isCallRequest(msg: any): msg is CallRequest;
/**
* @ignore
* @internal
*/
export declare function handleCallRequest(msg: CallRequest, reply: (res: CallResponse | ChannelMessage, transferable?: ArrayBuffer[]) => void): Promise<void>;