The existing checks for determining if the object is actually a Promise don't work in Angular, because the native Promise implementation is patched. These additional conditions handle if the object is a ZoneAwarePromise.
I'm not sure if these additional conditions would have any side-effects, as I only tested it with Angular and I'm not very familiar with the detailed workings of the library.
The existing checks for determining if the object is actually a Promise don't work in Angular, because the native Promise implementation is patched. These additional conditions handle if the object is a ZoneAwarePromise.
I'm not sure if these additional conditions would have any side-effects, as I only tested it with Angular and I'm not very familiar with the detailed workings of the library.
This PR fixes issue #90