untitled notebook

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

no comments

    sign in to comment