Class: StopMessage

StopMessage(id) → {StopMessage}

new StopMessage(id) → {StopMessage}

Construct a GraphQL operation termination message.
Parameters:
Name Type Description
id string Operation identifier
Source:
Throws:
Throws a type error if the provided operation identifier is invalid or empty.
Type
TypeError
Returns:
Type
StopMessage

Extends