Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

setImmediate() nodejs

console.log('before immediate');

setImmediate((arg) => {
  console.log(`executing immediate: ${arg}`);
}, 'so immediate');

console.log('after immediate');
Source by nodejs.org #
 
PREVIOUS NEXT
Tagged: #nodejs
ADD COMMENT
Topic
Name
9+8 =