src/index.js
/**
 * Construct a GraphQL operation completion message.
 * @constructor
 * @augments OperationMessageFromServer
 * @param {string} id - Operation identifier
 * @returns {CompleteMessage}
 */
Construct a GraphQL operation completion message.
@constructor
@augments OperationMessageFromServer
@param {string} id - Operation identifier
@returns {CompleteMessage}
Construct a GraphQL operation completion message . @constructor @augments OperationMessageFromServer @param { string } id - Operation identifier @returns { CompleteMessage }
function CompleteMessage(id) {
    if (this instanceof CompleteMessage) {
        OperationMessageFromServer.call(this, "complete");
        Object.defineProperty(this, "id", {
            enumerable: true,
            configurable: false,
            value: id
        });
    } else {
        return new CompleteMessage(id);
    }
}
function CompleteMessage ( id ) { if ( this instanceof CompleteMessage ) { OperationMessageFromServer . call ( this , "complete" ) ; Object . defineProperty ( this , "id" , { enumerable : true , configurable : false , value : id } ) ; } else { return new CompleteMessage ( id ) ; } }
Construct a GraphQL operation completion message.
Construct a GraphQL operation completion message .