A small library to dispatch job files to relevant handlers.
This library implements the core logic of a
Director which dispatches jobs described in JSON
files to a relevant
Handler and then archives the job based on whether it was accepted or
Job files are files ending in a
.json extension in JSON format. Two keys are required:
kind: this string value is used to determine which handler will be used to handle the job.
data: this value is passed to the handler.
Other keys may be used (e.g., a
timestamp to indicate when the job was created).
Job files are treated as read-only by the director.
Utilities for director-based tools.
Dispatch jobs to registered handlers.
A watchdog for the director.
The Error type.
The kind of an error.
Results from an event.
The result of running jobs.
Interface for handling events.
Additional methods for
Convenient wrapper around