(func, timeout)
| 306 | // abort and pause-aware versions TODO: build main loop on top of this? |
| 307 | |
| 308 | safeSetTimeout(func, timeout) { |
| 309 | // Legacy function, this is used by the SDL2 port so we need to keep it |
| 310 | // around at least until that is updated. |
| 311 | // See https://github.com/libsdl-org/SDL/pull/6304 |
| 312 | return safeSetTimeout(func, timeout); |
| 313 | }, |
| 314 | |
| 315 | getMimetype(name) { |
| 316 | return { |
no outgoing calls