time-to-botec/squiggle/node_modules/@rescript/std/lib/js/js_promise.js

16 lines
259 B
JavaScript
Raw Normal View History

'use strict';
var Curry = require("./curry.js");
function then_(arg1, obj) {
return obj.then(Curry.__1(arg1));
}
function $$catch(arg1, obj) {
return obj.catch(Curry.__1(arg1));
}
exports.then_ = then_;
exports.$$catch = $$catch;
/* No side effect */