kkrpc
    Preparing search index...

    Interface ExposedController<LocalAPI, RemoteAPI>

    Controller returned by expose() for managing a locally exposed API.

    interface ExposedController<
        LocalAPI extends object = object,
        RemoteAPI extends object = object,
    > {
        channel: RPCChannel<LocalAPI, RemoteAPI>;
        dispose(): void;
    }

    Type Parameters

    • LocalAPI extends object = object
    • RemoteAPI extends object = object
    Index

    Properties

    Methods

    Properties

    The underlying channel, useful when both exposing and calling a remote API.

    Methods