foo-webview-sdk
    Preparing search index...

    Interface PortDisconnectParams

    Parameters for port.disconnect. Close a port and announce it with port:disconnected. Only the window that opened the port may close it; another window fails with PERMISSION_DENIED, and an id no open port has with PORT_NOT_FOUND.

    interface PortDisconnectParams {
        portId: string;
    }
    Index
    portId: string

    Id of the port to close.