makeWorker: Make a worker object given a definition and data

Description

The function makeWorker returns an object of the appropriate type based on a computation definition and sets the data for the object. The types of objects that can be created depend upon the available computations

Usage

1

Arguments

defn

the computation definition

data

the data for the computation

Value

a worker object of the appropriate class based on the definition

See Also

availableComputations


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.