Module timer

An implementation of the Erlang/OTP timer interface.

Description

This module implements a strict subset of the Erlang/OTP timer interface.

Function Index

sleep/1Pauses the execution of the current process for a given number of milliseconds, or forever, using infinity as the parameter.

Function Details

sleep/1


sleep(Timeout::timeout()) -> ok

Timeout: number of milliseconds to sleep or infinity

returns: ok

Pauses the execution of the current process for a given number of milliseconds, or forever, using infinity as the parameter.