##### Views

- Page
- Discussion
- View source
- History

# love.event.pump

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).

| 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

- love.event.poll
- love.event.wait
- love.event

## Other Languages

Dansk – Deutsch – English – Español – Français – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Polski – Português – Română – Slovenský – Suomi – Svenska – Türkçe – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – ไทย – 日本語 – 正體中文 – 简体中文 – Tiếng Việt – 한국어
More info

Retrieved from "https://www.love2d.org/wiki/love.event.pump"
Category: Functions

##### Personal tools

- Log in

##### Search

##### Toolbox

- What links here
- Related changes
- Special pages
- Printable version
- Permanent link
- Browse properties