Skip to content

Latest commit

 

History

History

promise

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Promise


MIT License

Promise extensions

Table of contents

Usage

import { extend } from 'jsmodern';
import {
  delayed,
  isPromise,
} from 'jsmodern/dist/promise.js';

extend({
  promise: [
    delayed,
    isPromise,
  ],
});

console.log([
  Promise.delayed,
  Promise.isPromise,
].every(n => 'function' === typeof(n)));

Available extensions

Check out API Reference.

License

MIT License © Rong Sen Ng