Skip to content

Event Emitter for Tasks #17

Description

@ahallock

Thinking about exposing events for tasks, which could be useful for monitoring progress--using a web socket, for example.

Something like:

var task = project.tasks.queue('codename', 'payload');
task.on('end', function(msg) {
});
task.on('error', function(err) {
});
task.on('progress', function(msg) {
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions