Wait Command Plugin

Wait plugin serves to provide a delay during the flow execution.

Parameters

The following parameters can be set:

SettingTypeDefaultDescription
Delayduration1sDuration of the pause.

Example: Wait for 1 Second (Short Form)

In its shortest form, it will accept number of seconds as an value (i.e. no sub-nodes).

wait 1.0

Example: Wait for 1 Second

If you want to specify duration in time units, you need to define value in a Delay node. Given value should be prefixed with a duration type annotation.

wait {
  Delay (duration)"1s"
}

Example: Wait for 10 Milliseconds

You can use units different than seconds if you use the explicit type annotation.

wait {
  Delay (duration)"10ms"
}