Abort Long Running REST Calls in Visual Builder by Shay Shmeltzer

image

Sometime a REST call to the backend in your application could take too long, and you want to allow the user to cancel this operation mid-run. This is possible using an AbortController – a new interface that allows you to abort a web request (This interface is supported by most modern browsers). In the blog below I’ll show how to use this technique in a Visual Builder application.

The process is quite straightforward and the artifacts are shown in the video below. The steps to achieve this consist of:

1. Adding an application variable that will track the AbortController – this will be a variable of type Any

2. Add two JS functions at the application’s level: Read the complete article here.

Developer Partner Community

For regular information become a member in the Developer Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook image Meetups

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.