install-nix-action/node_modules/pn/dgram.js
Domen Kožar 70742d22d9
v6
2019-11-19 17:50:30 +01:00

8 lines
No EOL
341 B
JavaScript

var dgram = require("dgram");
var promisify = require("./_promisify.js");
var bind = function(c, f) { return f && f.bind(c); };
Object.defineProperties(module.exports, {
Socket: { enumerable: true, value: dgram.Socket },
//_createSocketHandle: // skipping
createSocket: { enumerable: true, value: bind(dgram, dgram.createSocket) },
});