brimworks / lua-ev

Lua integration with libev.
MIT License
225 stars 55 forks source link

Remove unnecessary timer check. #26

Closed ImagicTheCat closed 3 years ago

ImagicTheCat commented 3 years ago

See ev_timer_init documentation: Configure the timer to trigger after "after" seconds (fractional and negative values are supported).

An "after" value of 0 can be useful to create a one shot deferred watcher.