Interface Client

    The Client interface represents an executable context such as a Worker, or a SharedWorker. Window clients are represented by the more-specific WindowClient. You can get Client/WindowClient objects from methods such as Clients.matchAll() and Clients.get().

    MDN Reference

    interface Client {
        frameType: FrameType;
        id: string;
        type: ClientTypes;
        url: string;
        postMessage(message: any, transfer: Transferable[]): void;
        postMessage(message: any, options?: StructuredSerializeOptions): void;
    }
    Hierarchy

    Properties

    Methods

    Properties

    frameType: FrameType
    id: string
    url: string

    Methods