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

event:add, event.new, event:pause, event:reset, event:shell, event:timer, evh:enable, evh:disable, evh:close