Worker handles invalid fn err callback format gracefully.
Renamed task() to create().
Moved uuid.v4() to helper.genId() w/ no slash.
Added run().
Prevented already saved task being saved again.
Replaced .once(“connect”) w/ connect listeners to avoid EventEmitter memory leak warning.
Added task.create() and emits events from task.*().
Renamed param: errData -> errResult.
Added attempts placeholder.
Added more emitter events.
Improved assert.
Added missing constant: DEFAULT_TASK_ATTEMPTS
Emits error instead of console.trace.
Improved assert.
Improved assert message.
Updated worker example.