mongodb emitter now uses promises