Event emitter based on queues and workers