fix(facade): change EventEmitter to be sync by default (#8761)
This commit is contained in:

committed by
Miško Hevery

parent
cf1122cf9e
commit
e5904f4089
@ -115,7 +115,7 @@ export class EventEmitter<T> extends Subject<T> {
|
||||
* Creates an instance of [EventEmitter], which depending on [isAsync],
|
||||
* delivers events synchronously or asynchronously.
|
||||
*/
|
||||
constructor(isAsync: boolean = true) {
|
||||
constructor(isAsync: boolean = false) {
|
||||
super();
|
||||
this.__isAsync = isAsync;
|
||||
}
|
||||
|
Reference in New Issue
Block a user