EventEmitter

Stable

Class

Class Overview

class EventEmitter extends Subject {
constructor(isAsync?: boolean)

emit(value?: T)
subscribe(generatorOrNext?: any, error?: any, complete?: any) : any

}

Class Description

Constructor

constructor(isAsync?: boolean)

Creates an instance of [EventEmitter], which depending on [isAsync], delivers events synchronously or asynchronously.

Class Details

exported from core/index, defined in core/src/event_emitter.ts