Hello Kenton,
Thanks a lot for the input. kj::newPromiseAndCrossThreadFulfiller()
approach works for me.
On Tuesday, October 24, 2023 at 9:17:08 PM UTC+1 ken...@cloudflare.com
wrote:
> This is expected. The KJ event loop runs when you call `.wait()`. The
> event loop checks for network
This is expected. The KJ event loop runs when you call `.wait()`. The event
loop checks for network events and delivers callbacks. If you haven't
called .wait(), then the event loop has no way to run. KJ does not create
any background threads for this purpose; the thread that created the event
Hello All,
I am trying to pass client capability to sever, client should receive
notify back on any updates.
In my application, Service is sending statusHearbeat continuously, but
client receives callback only when it is waiting on any promise. Could
anyone please guide on how to receives