Skip to content

qie.cancelMessageResponse

Signature: qie.cancelMessageResponse()

Returns: void

Cancel sending a response to the original message.

Note

This function should only be used in scripts where the 'message' object is available.

Parameters

None

Example

// Useful when you want to explicitly cancel a pending response
// and notify the waiting client that no response will be sent.

if (qie.awaitingMessageResponse()) {
    qie.cancelMessageResponse();
}