Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 718 Bytes

wait.md

File metadata and controls

32 lines (24 loc) · 718 Bytes

DEPRECATED: wait( time, execMode <optional> )

This function is functionally identical to sleep(), except it is able to be used with queue modes

Parameters

time (float):

The amount of time to wait.

execMode (string, optional):

The execution mode to use for this command. Possible execution modes are:

  1. Synchronous
  2. Queue
  3. Ignore
  4. Override

If not given, defaults to the execution mode given on class initiation.
For details on how these modes work, see Here

Return Values

Returns void.

Example

# This is an example for which a wait is useful.
for i in range(3)
    MLI.dive(depth=-1, execMode='queue')
    MLI.wait(3, execMode='queue')