The Telerik Platform product is retired.Learn more

Canceling Data Requests Using Cloud Code for Data

You have the option to cancel any request before it is executed if your application logic requires that. Simply call the Everlive.Request.cancel() function in a pre-processing event.

Everlive.Events.beforeRead(function(request, response, context, done) {

The above code results in the following:

    "message": "The request was cancelled by custom server code.",
    "errorCode": 910

See Also

Contact us: +1-888-365-2779
Copyright © 2016-2018, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.