How to use the send function from process
Find comprehensive JavaScript process.send code examples handpicked from public code repositorys.
108 109 110 111 112 113 114 115 116 117
addedMessages: added, campaignId: rssCampaign.id }); log.verbose('Feed', `Found ${added} new campaigns messages from feed ${rssCampaign.id}`); process.send({ type: 'entries-added' }); } else { checkStatus = tLog('foundNothingNewFromTheFeed');
702
0
116
+ 3 other calls in file
GitHub: Crawlerop/dtvserver
41 42 43 44 45 46 47 48 49 50
} check_output(params.ffmpeg.replace(/mpeg/g, "probe"), [..."-probesize 48M -loglevel quiet -print_format json -show_error -show_format -show_streams".split(" "), src_url]).then((o) => { const probe_streams = JSON.parse(o).streams if (probe_streams.length <= 0) { process.send({retry: true, stream_id: params.stream_id, type: params.type, params: { src: params.src, src_id: params.src_id, additional_params: params.additional_params, name: params.name
0
1
0
+ 6 other calls in file
process.exit is the most popular function in process (513 examples)