Skip to main content

mapper.delay()

mapper.delay(rel_time, func)

This function calls the function specified by func after the time specified by `rel_time``. The function itself returns immediately.

Note

fsmapper and Windows are not designed to guarantee real-time constraints. Thus, while the function specified by func won’t execute until the specified time rel_time, the actual execution time depends on system load.

Parameters

ParameterTypeDescription
rel_timenumberSpecifies the time to delay the execution of the function in milliseconds.
funcfunctionSpecifies the function targeted for delayed execution.

Return Values

This function doesn't return any value.