Class: Worker

HungryGames~Simulator~ Worker


new Worker(sim [, retry])

Create and start simulating.
Parameters:
Name Type Argument Default Description
sim Object Simulation data.
retry boolean <optional>
true Whether to try again if there is an error.
Source:

Methods


cb( [data])

Pass a message back to the parent.
Parameters:
Name Type Argument Description
data * <optional>
Data to send to the parent.
Source: