Wrap promise resolutions in runloops. Avoids auto-runs
Merge pull request #4 from mixonic/wrap-resolve-in-promise

Wrap promise resolutions in runloops. Avoids auto-runs