sleep
Forces current request to sleep for a period of time
Index > Books > Declarative Development Guide > Reference Library > Accessor Listing > sleep

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:sleep

Format

<instr>
  <type>sleep</type>
  <operator>
    <time>100</time>
  </operator>
  <target>this:response</target>
</instr>

Syntax

ArgumentRulesDescription
typeMandatory sleep
operatorMandatory a document specifying properties for the sleep time
targetOptional the target resource

The sleep accessor delays the execution of an idoc process by a specified number of milli-seconds. The time is specified in the operator properties document.

Operator Syntax

The sleep accessor requires a configurable time delay. This is passed in by the operator in a <time> document.

<time>1000</time>

<time> The duration, in milliseconds, in which to sleep.


(C) 2003, 1060 Research Limited
© 2003-2005, 1060 Research Limited. 1060 registered trademark, NetKernel trademark of 1060 Research Limited.