fix(facade): change EventEmitter to be sync by default (#8761)

This commit is contained in:
Rob Wormald
2016-05-26 09:34:04 -07:00
committed by Miško Hevery
parent cf1122cf9e
commit e5904f4089
5 changed files with 31 additions and 36 deletions

View File

@ -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;
}