Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

foreach async typescript

  for (const file of files) {
    const contents = await fs.readFile(file, 'utf8');
    console.log(contents);
  }
 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #foreach #async #typescript
ADD COMMENT
Topic
Name
3+6 =