Skip to content
salboaie edited this page Oct 17, 2012 · 1 revision

The "vars" section in swarming descriptions is a way to document and initialize variables used by a swarm. Because of the dynamic nature of JS, you don't have to declare variables but if you do,they will get initialized in all swarms.

The swarm is an regular JS object and you can manually delete vars at any time if consider thay should no more be transported on a remote node. Only serialisable types are supported (eg. no file descriptions or sockets).

Clone this wiki locally