sdeleuze
10/28/2019, 1:51 PMawait()
on the returned Promise
) in JavaScript callbacks like onclient = { }
? cc @Vsevolod Tolstopyatov [JB]EventTarget.addSuspendingEventListener
extension with a suspending lamda? Do you plan to generate Coroutines friendly lambda at some point?Zach Klippenstein (he/him) [MOD]
10/28/2019, 9:10 PMFlow
.gildor
10/29/2019, 3:20 AMVsevolod Tolstopyatov [JB]
10/29/2019, 9:54 AMsuspendCancellableCoroutine
), channel and flow, whatever suits you.
For multishot, callbackFlow
is probably the best option.
Issues with missing JS integrations are welcome 🙂sdeleuze
10/29/2019, 9:55 AMVsevolod Tolstopyatov [JB]
10/29/2019, 9:58 AMsdeleuze
10/29/2019, 10:00 AMVsevolod Tolstopyatov [JB]
10/29/2019, 10:01 AM