Skip to content

Update all samples to use async/await #2869

@JustinBeckwith

Description

@JustinBeckwith

Most of our samples are using promises for async programming, which is great. Now that Node 8 is the latest LTS, and 10 is about to go out - we should start converting all the samples to async/await. Lets use this as a high level tracking bug.

@sduskis this is something that we should have our new friends help with :)

To call out the specific work:

  • All samples should use async or await instead of promises or callbacks
  • We can remove all of the catch clauses that just print the output to console.error (a throw will do that anyway)

Metadata

Metadata

Labels

help wantedWe'd love to have community involvement on this issue.type: processA process-related concern. May include testing, release, or the like.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions