NAME ^

lib/alarm.pir - Lua Alarm Library

DESCRIPTION ^

The library exports a single function: alarm(s,[f]).

See original on http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lalarm/

Function ^

alarm (s, [f])

It tells Lua to call f after s seconds have elapsed. This is done only once. If you want f to be called every s seconds, call alarm(s) inside f.

AUTHORS ^

Francois Perrad


parrot