new OperationMessageFromClient(type) → {OperationMessageFromClient}
Construct a GraphQL operation message to be sent from a client.
Parameters:
Name | Type | Description |
---|---|---|
type |
string | Message type |
Throws:
-
Throws a type error if the provided message type is invalid or empty.
- Type
- TypeError