kkrpc
    Preparing search index...

    Interface DestroyableIoInterface

    A destroyable IoInterface, mainly for iframe and web worker communication. Used for cleaning up resources, e.g. MessageChannel.

    interface DestroyableIoInterface {
        capabilities?: IoCapabilities;
        name: string;
        destroy(): void;
        read(): Promise<null | string | IoMessage>;
        signalDestroy(): void;
        write(message: string | IoMessage): Promise<void>;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    capabilities?: IoCapabilities
    name: string

    Methods