#2 take emitter.end if possible