How to unsubscribe from EventEmitter in Angular 2?
问题 export declare class EventEmitter<T> extends Subject<T> { /** * Creates an instance of [EventEmitter], which depending on [isAsync], * delivers events synchronously or asynchronously. */ constructor(isAsync?: boolean); emit(value: T): void; /** * @deprecated - use .emit(value) instead */ next(value: any): void; subscribe(generatorOrNext?: any, error?: any, complete?: any): any; } In Official Angular 2 Typescript definition, seems it has no way to mute or unsubscribe from EventEmitter. I got