Skip to content
salboaie edited this page Oct 17, 2012 · 4 revisions

Phases are basically JS functions (code member) plus a location where the creator of the swarm descriptions plans to execute the function (node member).

Example:

   concatPhase:{ //phase declataion
        node:"Core",
        code : function (){
            this.message="Client swarming!";
            this.swarm("onClient",this.currentSession());
   }
Clone this wiki locally