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

    Interface InitializedPlugin

    The interface returned by initPlugin, representing an initialized plugin from parent side

    interface InitializedPlugin {
        methods: Record<string, Method>;
        terminate: () => void;
    }
    Index

    Properties

    Properties

    methods: Record<string, Method>

    Map of method names to async method implementations that call into the plugin

    terminate: () => void

    Function to terminate the plugin communication and cleanup resources