Syntax
sleep <seconds>Available in
- Executable DCode bodies
Native C++
Calls std::this_thread::sleep_for directly. It blocks the callback thread and does not release the RAPID task transaction through the Lua managed-wait path. Avoid it in inline reactions and timing-critical tasks; use Lua for managed waits.
Lua transformation
sleep(
Example
sleep 1.0