Skip to main content

createClientConnector

Callable

  • createClientConnector(functions: ContentFunctions): { channel: IFramePortClientChannel; connector: _AsyncVersionOf<HostFunctions>; destroy: () => void; destroyed: any }

  • Parameters

    Returns { channel: IFramePortClientChannel; connector: _AsyncVersionOf<HostFunctions>; destroy: () => void; destroyed: any }

    • channel: IFramePortClientChannel
    • connector: _AsyncVersionOf<HostFunctions>
    • destroy: () => void
        • (): void
        • Returns void

    • get destroyed(): boolean