join
Wait for the result from an asynchronous request
Index > Books > Declarative Development Guide > Reference Library > Accessor Listing > join

Rate this page:
Really useful
Satisfactory
Not helpful
Confusing
Incorrect
Unsure
Extra comments:


Module

urn:org:ten60:netkernel:ext:sys

Definition

Active URI Base

active:join

Format

<instr>
  <type>join</type>
  <operand>var:asyncRequestHandle</operand>
  <target>var:result</target>
</instr>

Syntax

ArgumentRulesDescription
typeMandatory join
operandMandatory a handle received from the async accessor
targetMandatory the result from the asychronous request

This accessor is useful when developing in DPML- it allows you get the results from asynchronously issue requests using the async accessor. If you are developing an accessor or using a scriping language you may find it easier to use the underlying asynchronous request methods in the NKF API.

If an exception is thrown in the subrequest then the join will propagate that exception. Conversely, if you do not join, an exception or any other result from an asynchronous request will be lost.

© 2003,2004, 1060 Research Limited. 1060 registered trademark, NetKernel trademark of 1060 Research Limited.