NAME ^

lib/alarm.pir - Lua Alarm Library

DESCRIPTION ^

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

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