Does ComponentizeJS support promises and/or async/await?
I think that's what this issue is about: https://github.com/bytecodealliance/ComponentizeJS/issues/112 @Guy Bedford could say for sure.
I guess that answers, whether exported promises are supported, but I wonder what about if a promise is used internally? Like I'm wondering if I can get around needing promises by using a notification resource or by having an import that is called .
it does, yes: it has an internal event loop that resolves promises as needed
Last updated: Dec 23 2024 at 13:07 UTC