Hello all,

I am new to v8, stilling learning a lot about c++. I have some basic 
understanding of how to create an embedded v8 application. I have been able 
to create a working basic example of

for await(const message of listener()) {
    ....
}

I have been able to share a v8::array of promises with some content 
generation but of course once the basic array of promises is empty the 'for 
await' ends. I want to be able to pump network data into an infinite 'for 
await()' loop. If there isn't any current network data then the loop should 
continue to wait until there is some.

I do not have any idea about how to approach this. Any and all help is very 
much appreciated.

TIA

Jeff

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-users/3f0d49c4-25c4-4f5a-8f99-8a95dac0b891n%40googlegroups.com.

Reply via email to