Asynchronous request handles
- Last Updated: October 14, 2020
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Associated with each asynchronous request is an asynchronous request handle. An instance of this handle is created each time
you execute the RUN...ASYNCHRONOUS statement. Thus, you
can use this handle to obtain information on a specific asynchronous request.
The ABL client allows you to access this handle in three ways:
- Using the
SETasync-request-handle option on theRUN...ASYNCHRONOUSstatement. - Using the
FIRST-ASYNC-REQUESTandLAST-ASYNC-REQUESTattributes of the server handle or theNEXT-SIBLINGandPREV-SIBLINGattributes of the asynchronous request handle to walk through the valid asynchronous request handles for the specified server. - Accessing the
SELFsystem handle within an event procedure or method specified as a callback in response to the asynchronous request complete event.
For more information on using the asynchronous request handle, see Handling the response from an asynchronous request.