docs(core): EventEmitter docs for isAsync defaults (#15780)

- solves #15758
This commit is contained in:
David Herges 2017-05-08 19:47:53 +02:00 committed by Miško Hevery
parent 98dd609f89
commit c5ce0408a1
1 changed files with 4 additions and 1 deletions

View File

@ -64,8 +64,11 @@ export class EventEmitter<T> extends Subject<T> {
__isAsync: boolean;
/**
* Creates an instance of [EventEmitter], which depending on [isAsync],
* Creates an instance of {@link EventEmitter}, which depending on `isAsync`,
* delivers events synchronously or asynchronously.
*
* @param isAsync By default, events are delivered synchronously (default value: `false`).
* Set to `true` for asynchronous event delivery.
*/
constructor(isAsync: boolean = false) {
super();