StorageQueryService: {
    methods: {
        publish: {
            I: typeof PublishRequest;
            O: typeof PublishResponse;
            kind: Unary;
            name: "Publish";
        };
        query: {
            I: typeof QueryRequest;
            O: typeof QueryResponse;
            kind: Unary;
            name: "Query";
        };
        subscribe: {
            I: typeof SubscribeRequest;
            O: typeof SubscriptionEvent;
            kind: ServerStreaming;
            name: "Subscribe";
        };
    };
    typeName: "v1.StorageQueryService";
} = ...

StorageQueryService is the service for querying information about the mesh state.

Type declaration

  • Readonly methods: {
        publish: {
            I: typeof PublishRequest;
            O: typeof PublishResponse;
            kind: Unary;
            name: "Publish";
        };
        query: {
            I: typeof QueryRequest;
            O: typeof QueryResponse;
            kind: Unary;
            name: "Query";
        };
        subscribe: {
            I: typeof SubscribeRequest;
            O: typeof SubscriptionEvent;
            kind: ServerStreaming;
            name: "Subscribe";
        };
    }
    • Readonly publish: {
          I: typeof PublishRequest;
          O: typeof PublishResponse;
          kind: Unary;
          name: "Publish";
      }

      Publish is used to publish events to the mesh database. A restricted set of keys are allowed to be published to. This is only available on nodes that are able to provide storage.

      Generated

      from rpc v1.StorageQueryService.Publish

    • Readonly query: {
          I: typeof QueryRequest;
          O: typeof QueryResponse;
          kind: Unary;
          name: "Query";
      }

      Query is used to query the mesh for information.

      Generated

      from rpc v1.StorageQueryService.Query

    • Readonly subscribe: {
          I: typeof SubscribeRequest;
          O: typeof SubscriptionEvent;
          kind: ServerStreaming;
          name: "Subscribe";
      }

      Subscribe is used to subscribe to events at a particular prefix. This is only available on nodes that are able to provide storage.

      Generated

      from rpc v1.StorageQueryService.Subscribe

  • Readonly typeName: "v1.StorageQueryService"

Generated

from service v1.StorageQueryService

Generated using TypeDoc