Dmitriy Tarasevich
04/08/2021, 11:14 PMPromises which are returned using GlobalScope.promise {} are executed immediately instead of lazily when the clients invoke Promise#then .
I am able to lazy load the promise by setting the coroutinestart to Lazy and then calling promise.deferred.start from within the js code.. but its not really ideal. What I would expect is that the coroutine is kicked off when .then is invoked.
Anyone run into this before?turansky
04/09/2021, 12:31 AMexecuted immediately instead of lazily when the clients invokeLooks like expected. Did you know standard promises with “lazily” behaviour?.Promise#then
turansky
04/09/2021, 12:34 AMfetch("<http://httpbin.org/>")
Result - no “lazily” behaviour detectedDmitriy Tarasevich
04/09/2021, 2:02 AM