index.js 177 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
'use strict';
module.exports = () => {
	const ret = {};

	ret.promise = new Promise((resolve, reject) => {
		ret.resolve = resolve;
		ret.reject = reject;
	});

	return ret;
};