Variable StorageQuerierPluginConst

StorageQuerierPlugin: {
    methods: {
        injectQuerier: {
            I: typeof QueryResponse;
            O: typeof QueryRequest;
            kind: BiDiStreaming;
            name: "InjectQuerier";
        };
    };
    typeName: "v1.StorageQuerierPlugin";
} = ...

StorageQuerierPlugin is the service definition for a Webmesh storage querier plugin.

Type declaration

  • Readonly methods: {
        injectQuerier: {
            I: typeof QueryResponse;
            O: typeof QueryRequest;
            kind: BiDiStreaming;
            name: "InjectQuerier";
        };
    }
    • Readonly injectQuerier: {
          I: typeof QueryResponse;
          O: typeof QueryRequest;
          kind: BiDiStreaming;
          name: "InjectQuerier";
      }

      InjectQuerier is a stream opened by the node to faciliate read operations against the mesh state. The signature is misleading, but it is required to be able to stream the query results back to the node. The node will open a stream to the plugin and send a PluginQueryResult message for every query that is received.

      Generated

      from rpc v1.StorageQuerierPlugin.InjectQuerier

  • Readonly typeName: "v1.StorageQuerierPlugin"

Generated

from service v1.StorageQuerierPlugin

Generated using TypeDoc