untitled notebook

node v8.17.0
version: master
endpointsharetweet
const {promisify} = require('util'); const delay = promisify(setTimeout); delay(1000).then(() => console.log('delayed'));
Loading…

no comments

    sign in to comment