Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

greenlet

node v8.17.0
version: master
endpointsharetweet
const greenlet = require('greenlet') let getName = greenlet( async username => { let url = `https://api.github.com/users/${username}` let res = await fetch(url) let profile = await res.json() return profile.name }) console.log(await getName('developit'))
Loading…

no comments

    sign in to comment