fix(EventEmitter): resolve onError and onComplete asynchronously

closes #4443
This commit is contained in:
Nathan Walker
2015-10-29 19:57:28 -07:00
committed by Alex Rickabaugh
parent b4de41b74e
commit 019cb41dd8
3 changed files with 79 additions and 22 deletions

View File

@ -126,6 +126,8 @@ export function isDate(obj): boolean {
return obj instanceof Date && !isNaN(obj.valueOf());
}
export function noop() {}
export function stringify(token): string {
if (typeof token === 'string') {
return token;