michaelpb / michaelpb/whiteboard

Switch code-base to use async/await and promises

Open
#86 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Code Quality wishlist
Dominant language
JavaScript
Stars
26
Forks
2
PR merge metrics
No merged PRs in 30d

Description

With modern versions of node we can use async/await a little bit like how python3 does it

This can make the code much cleaner

Naturally needs to switch to promise based code instead of callbacks, would be a big-ish undertaking

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the JavaScript codebase to inventory callback-based code and determine the migration scope. Define which areas will move to promises and async/await, then verify that the complete codebase no longer depends on the callbacks targeted by the migration.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.