Buckets:
| int funcExecuted = 0; | |
| void testDone(void *userData) { | |
| assert((long)userData == 2); | |
| assert(funcExecuted == 10); | |
| exit(0); | |
| } | |
| bool tick(void *userData) { | |
| assert((long)userData == 1); | |
| ++funcExecuted; | |
| if (funcExecuted == 10) { | |
| emscripten_set_timeout(testDone, 300, (void*)2); | |
| } | |
| return funcExecuted < 10; | |
| } | |
| int main() { | |
| emscripten_set_immediate_loop(tick, (void*)1); | |
| return 99; | |
| } | |
Xet Storage Details
- Size:
- 471 Bytes
- Xet hash:
- 20ba8c92ac819e05da9946512baead2a3fe44725c5717ff78ff07863ee16f052
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.