mirror of
https://gitea.com/actions/setup-python.git
synced 2024-11-26 12:09:35 +01:00
10 lines
No EOL
517 B
JavaScript
10 lines
No EOL
517 B
JavaScript
var domain = require("domain");
|
|
var promisify = require("./_promisify.js");
|
|
var bind = function(c, f) { return f && f.bind(c); };
|
|
Object.defineProperties(module.exports, {
|
|
Domain: { enumerable: true, value: domain.Domain },
|
|
//_stack: // skipping
|
|
active: { enumerable: true, get: function() { return domain.active; }, set: function(v) { domain.active = v; } },
|
|
create: { enumerable: true, value: bind(domain, domain.create) },
|
|
createDomain: { enumerable: true, value: bind(domain, domain.createDomain) },
|
|
}); |