GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — TypeScriptSamples/async at master · microsoft/TypeScriptSamples

This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Expand file tree

/

async

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

async

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
bin
bin
 
 
src/lib
src/lib
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
gulpfile.js
gulpfile.js
 
 
jsconfig.json
jsconfig.json
 
 
package.json
package.json
 
 

README.md

Async Functions

Async Functions are functions that can suspend their execution to wait for the completion of an asynchronous operation. This allows complex algorithms that require asynchronous control flow to be written sequentially.

This sample uses Async Functions to query the GitHub API to view information about recent pull requests.

This sample requires a minimum of NodeJS v4.0.0.

Fetch dependencies

npm install

Run

npm test

Environment variables

Name Description
GITHUB_TOKEN The Authentication token to use for GitHub API Requests. (Optional)
GITHUB_REPOSITORY The GitHub repository to use for queries. (Default: "Microsoft/TypeScript")
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.