Type alias OperationType

OperationType: "subscription" | "query" | "mutation" | "teardown"

A type of Operation, either a GraphQL query, mutation, or subscription; or a teardown signal.

Remarks

Internally, Operations instruct the Client to perform a certain action on its exchanges. Any of the three GraphQL operations tell it to execute these operations, and the teardown signal instructs it that the operations are cancelled and/or have ended.

The teardown signal is sent when nothing is subscribed to an operation anymore and no longer interested in its results or any updates.

Generated using TypeDoc