mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-23 04:11:06 +07:00
8 lines
341 B
JavaScript
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) },
|
|
}); |