setup-python/node_modules/pn/dgram.js
Danny McCormick 39c08a0eaa Initial pass
2019-06-26 21:12:00 -04:00

8 lines
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) },
});