passing emitter to domain services