Jeeves v0.1.0 Jeeves.Scheduler

This is the runtime support for pooled workers.

Each original module that specifies a pool arg will be associated with its own pool, and that pool is run by the scheduler code below.

Summary

Functions

Run an instance of our pool worker with the given command. The optional third parameter is a timeout. If a float, the value is in seconds; otherwise it’s an integer number of milliseconds

Functions

run(pool, what_to_run, timeout)

Run an instance of our pool worker with the given command. The optional third parameter is a timeout. If a float, the value is in seconds; otherwise it’s an integer number of milliseconds.

This is called by the delegating function in the code generated by Jeeves.Pooled—it isn’t called directly by the client.