IntegerAlex / IntegerAlex/netflix-recommendation-system

(JS-0116) `async function` should have `await` expression

Open
#36 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
13
Forks
7
PR merge metrics
No merged PRs in 30d

Description

## Description
A function that does not contain any `await` expressions should not be `async` (except for some edge cases in TypeScript which are discussed below). Asynchronous functions in JavaScript behave differently than other functions in two important ways:

## Occurrences
There are 2 occurrences of this issue in the repository.

See all occurrences on DeepSource → [app.deepsource.com/gh/IntegerAlex/netflix-recommendation-system/issue/JS-0116/occurrences/](https://app.deepsource.com/gh/IntegerAlex/netflix-recommendation-system/issue/JS-0116/occurrences/)

Contributor guide

Open the contributing guide

Research direction

Open the DeepSource JS-0116 occurrences link from the issue and inspect the two reported locations. Determine which async functions lack await expressions, then verify that both reported occurrences are resolved without changing functions that need async behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.