Lines Matching defs:function
28 function forEach(obj, fn) {
29 Object.keys(obj).forEach(function(name, index) {
40 function maybeReply() {
50 server.on('connection', function(socket_) {
58 process.on('message', function(message_) {
89 forEach(checks, function(type) {
103 worker.on('message', function(message) {
106 cluster.on('message', function(worker_, message) {
112 worker.on('listening', function(address) {
114 client = net.connect(address.port, function() {
119 client.on('data', function(data) {
131 client.on('end', function() {
135 worker.on('exit', common.mustCall(function() {
140 process.once('exit', function() {
141 forEach(checks, function(check, type) {