JavaScript Functions > Alphabetical Listing of Web Functions > web.stopAsync

web.stopAsync

Example: Asynchronous Conversations

Asynchonous Functions

Stops the specified Asynchronous ConversationAn Asynchronous Conversation is a series of related web tasks, including tasks caused by redirection. An Asynchronous Conversation starts with the request for the desired response, includes all the requests and responses that are caused by this request (authentication, redirection, and so on) and ends when the desired response is received or when the series of interactions is canceled. including all its active and future tasks.

Syntax

web.stopAsync( id );
Argument Description
id The Conversation ID.

Return Values

This function returns LR_PASS (0) if the Asynchronous Conversation is either confirmed to be cancelled or did not exist. Returns LR_FAIL (1) if an error occurred, as a result of which either the conversation was not canceled or it can not be confirmed that the conversation is cancelled.

Parameterization

The values of keyword-value pairs can be parameterized. For example, "ALT={altParam}".

General Information

web.stopAsync stops the specified Asynchronous ConversationAn Asynchronous Conversation is a series of related web tasks, including tasks caused by redirection. An Asynchronous Conversation starts with the request for the desired response, includes all the requests and responses that are caused by this request (authentication, redirection, and so on) and ends when the desired response is received or when the series of interactions is canceled. including all its active and future tasks.

Concept Link IconSee Also