time

The time module provides various time-related functions.

sleep(secs)

Suspend VU execution for the specified duration.

Parameters:

secs – Duration, in seconds.

Usage:

load("time", "sleep")

def default(_):
    sleep(0.5)