PostMessage RPC API Documentation - v0.2.2
    Preparing search index...

    Interface ProvidedPlugin

    The interface returned by providePlugin, representing a plugin from the plugin side

    interface ProvidedPlugin {
        data: unknown;
        settings: unknown;
        hooks: Record<string, Method>;
        terminate: () => void;
    }
    Index

    Properties

    data: unknown

    Initial data received from the parent

    settings: unknown

    Settings received from the parent

    hooks: Record<string, Method>

    Map of hook names to callback functions that call back to the parent

    terminate: () => void

    Function to terminate the plugin communication and cleanup resources