Logo Anfibia Reactor ™ - User Guide
Copyright © 2013 Anfibia Software. All Rights Reserved.
www.anfibia-soft.com
Plugins : API : sleep

Summary

Suspends the current execution.

Syntax

sleep(time)

Parameters

time : number of milliseconds during which the execution will be suspended.

Description

Suspends the current execution for the specified number of milliseconds.

The maximum value allowed is 30000 (30 seconds). This is to avoid blocking the execution for too long. If needed, the function can be called several times.

Examples

-- wait 5 seconds before retrying
sleep(5000)