Replacement for 'yield' in WebAssembly context
| 116 | |
| 117 | // Replacement for 'yield' in WebAssembly context |
| 118 | EMSCRIPTEN_KEEPALIVE void yield() { |
| 119 | // Use emscripten_yield to allow the browser to perform other tasks |
| 120 | fl::delay(0); |
| 121 | } |
| 122 | } |
| 123 | |
| 124 | #endif // FL_IS_WASM |
no test coverage detected