docs(core): EventEmitter docs for isAsync defaults (#15780)
- solves #15758
This commit is contained in:
parent
98dd609f89
commit
c5ce0408a1
|
@ -64,8 +64,11 @@ export class EventEmitter<T> extends Subject<T> {
|
||||||
__isAsync: boolean;
|
__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.
|
* 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) {
|
constructor(isAsync: boolean = false) {
|
||||||
super();
|
super();
|
||||||
|
|
Loading…
Reference in New Issue