penpal
Version:
A promise-based library for communicating with iframes via postMessage.
8 lines (7 loc) • 332 B
TypeScript
import { SerializedMethods, WindowsInfo } from './types';
declare const _default: (info: WindowsInfo, serializedMethods: SerializedMethods, log: Function) => () => void;
/**
* Listens for "call" messages coming from the remote, executes the corresponding method, and
* responds with the return value.
*/
export default _default;