Hi,

for some reason I didn't pay that much attention to the asyncify and 
emscripten_yield() stuff since in the small, new experimental engine code I 
wrote more recently I avoided the need for blocking by design. But I'd like 
to go back attempting to port big legacy code bases, and synchronous IO 
calls was one of the main-'blockers' (excuse the pun).

What I would actually need is some synchronous version of 
emscripten_wget_data() which downloads raw bytes without putting them into 
the 'virtual file system'. Is this planned for the near future, or should I 
attempt to write my own? If the latter, any tips and experiences to share?

I'm not sure what the API would look like, I think the function can still 
have the onload and onerror callbacks, but would only return after either 
of the callback had been called?

Cheers,
-Floh.

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to