job-class: job-class

Description Slots Author(s) Examples

Description

job-class

Slots

type:

The type of the job. Possible value: normal, empty, and terminate

fun:

The job will be executed by do.call(fun, argv)

argv:

The job will be executed by do.call(fun, argv)

hash:

The hash of the job

worker.id:

The id of worker who do the job

start.processing:

When the job is delivered to the worker

processing.time:

How much time to execute the job

result:

The returned object from fun

Author(s)

Wush Wu

Examples

1
2
3
4
## Not run
job <- new("job", fun = base:::mean, argv = list(x = rnorm(10)))
push_job_queue(job)
## END(**Not run**)

wush978/RzmqJobQueue documentation built on May 4, 2019, 12:02 p.m.