Join Slack
Powered by
Since wasmJs doesn't have @EagerInitialization, wh...
# webassembly
e
edwinRNDR
10/06/2025, 5:29 PM
Since wasmJs doesn't have @EagerInitialization, what are other ways to ways to run code when a module is loaded. I am looking for something where components register themselves to a component registry.
o
Oleg Yukhnevich
10/07/2025, 6:47 AM
wasm targets have it:
kotlin.EagerInitialization
e
edwinRNDR
10/07/2025, 9:54 PM
ah yeah that's right. my bad, I tried to use EagerInitialization from
webMain
👍 1
3
Views
Open in Slack
Previous
Next