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
{{ message }}
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.
If you want to just execute a function from a module, you don't need to broadcast in order to use it. Simply do zone.execute('../lib/my_module', 'my_function', [args]);.
Certainly you can do zone.broadcast('f = require("../lib/my_function");, which will set f in global.
Please note that napajs by now doesn't support all node modules, since many of Node.js core modules are not supported in Napa.js workers yet. So module that directly or indirectly depends on unsupported Node.js APIs cannot be loaded in workers.
Say, how can I broadcast such code in workers?
The text was updated successfully, but these errors were encountered: