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

Commit 744a4cf

Browse files
committed
Async Functions Sample Sources
1 parent 79e1fbd commit 744a4cf

File tree

15 files changed

+3518
-2
lines changed

15 files changed

+3518
-2
lines changed

async/.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
lib/
2-
.vscode/
1+
./lib/
2+
./.vscode/

async/.vscode/launch.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"version": "0.1.0",
3+
// List of configurations. Add new configurations or edit existing ones.
4+
// ONLY "node" and "mono" are supported, change "type" to switch.
5+
"configurations": [
6+
{
7+
// Name of configuration; appears in the launch configuration drop down menu.
8+
"name": "Launch index.js",
9+
// Type of configuration. Possible values: "node", "mono".
10+
"type": "node",
11+
// Workspace relative or absolute path to the program.
12+
"program": "lib/index.js",
13+
// Automatically stop program after launch.
14+
"stopOnEntry": false,
15+
// Command line arguments passed to the program.
16+
"args": [],
17+
// Workspace relative or absolute path to the working directory of the program being debugged. Default is the current workspace.
18+
"cwd": ".",
19+
// Workspace relative or absolute path to the runtime executable to be used. Default is the runtime executable on the PATH.
20+
"runtimeExecutable": null,
21+
// Optional arguments passed to the runtime executable.
22+
"runtimeArgs": ["--nolazy"],
23+
// Environment variables passed to the program.
24+
"env": {
25+
"NODE_ENV": "development"
26+
},
27+
// Use JavaScript source maps (if they exist).
28+
"sourceMaps": true,
29+
// If JavaScript source maps are enabled, the generated code is expected in this directory.
30+
"outDir": null
31+
},
32+
{
33+
"name": "Attach",
34+
"type": "node",
35+
// TCP/IP address. Default is "localhost".
36+
"address": "localhost",
37+
// Port to attach to.
38+
"port": 5858,
39+
"sourceMaps": false
40+
}
41+
]
42+
}

async/lib/github.js

Lines changed: 274 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)