Home  Contents

event:poll

Event Core4 Lua Event System

SYNOPSIS

app:poll()

DESCRIPTION

This function waits for the next event, then processes it. As long as no event happens, the application does not cause any processor load.

EXAMPLE

>  >  >  > 
app = event.new() while true do app:poll() end

SEE ALSO