add completed() method to Emitter