@skpm/promise

A Promise polyfill for Sketch

Usage no npm install needed!

<script type="module">
  import skpmPromise from 'https://cdn.skypack.dev/@skpm/promise';
</script>

README

Promise for Sketch

A Promise polyfill for Sketch that uses setImmediate (which itself uses fibers) and makes process emit multipleResolves, unhandledRejection and uncaughtException when it should.