Since wasmJs doesn't have @EagerInitialization, wh...
# webassembly
e
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
wasm targets have it: kotlin.EagerInitialization
e
ah yeah that's right. my bad, I tried to use EagerInitialization from
webMain
👍 1