You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.js 177B

1234567891011
  1. 'use strict';
  2. module.exports = () => {
  3. const ret = {};
  4. ret.promise = new Promise((resolve, reject) => {
  5. ret.resolve = resolve;
  6. ret.reject = reject;
  7. });
  8. return ret;
  9. };