enet.host:check events

Checks for any queued events and dispatches one if available. Returns the associated event if something was dispatched, otherwise nil.

Function

Synopsis

event = host:check_events()

Arguments

Returns

table event
An event or nil if no events are available.

See Also

Other Languages