You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think calling lib/rustify to get the same behaviour in Node might be difficult because it is asynchronous, while the rust`` template tag is 'synchronous' (once compiled through rustify). maybe i'm missing something.
#4 would help with this actually because we could return a Promise that does lib/rustify and then instantiates the WebAssembly module.
But, maybe you don't always want a webassembly module instantiated immediately, instead waiting for some event to instantiate it, so idk what's better.
But, maybe you don't always want a webassembly module instantiated immediately, instead waiting for some event to instantiate it, so idk what's better.
This should work for async initialization; it's a single step instead of two, is all.
Currently if you require
rustify
for use in Node, it'll do nothing. By usinglib/rustify
we can make it behave similarly go Sheetify & Glslify.The text was updated successfully, but these errors were encountered: