Difference between revisions of "love.event.pump"

m (Added newin template)
Line 1: Line 1:
 
{{newin|[[0.6.0]]|0.6.0|type=function}}
 
{{newin|[[0.6.0]]|0.6.0|type=function}}
Pump events into the event queue.
+
Pump events into the event queue.<br>
This is a low-level function, and is usually not called by the user, but by <code>[[love.run]]</code>.
+
This is a low-level function, and is usually not called by the user, but by <code>[[love.run]]</code>.<br>
 
Note that this does need to be called for any OS to think you're still running,
 
Note that this does need to be called for any OS to think you're still running,
 
and if you want to handle OS-generated events at all (think callbacks).
 
and if you want to handle OS-generated events at all (think callbacks).

Revision as of 21:58, 17 November 2019

Available since LÖVE 0.6.0
This function is not supported in earlier versions.

Pump events into the event queue.
This is a low-level function, and is usually not called by the user, but by love.run.
Note that this does need to be called for any OS to think you're still running, and if you want to handle OS-generated events at all (think callbacks).

O.png love.event.pump can only be called from the main thread, but afterwards, the rest of love.event can be used from any other thread.  


Function

Synopsis

love.event.pump( )

Arguments

None.

Returns

Nothing.

See Also


Other Languages