SupportVol / BackEnd

This repository manages data storage, authentication, and business logic for efficient volunteer coordination.
https://supportvol-dot-support-vol.as.r.appspot.com/
Apache License 2.0
1 stars 0 forks source link

(JS-0111) Unnecessary `return await` function found #62

Closed Programmer-RD-AI closed 3 months ago

Programmer-RD-AI commented 3 months ago

Description

Returning an awaited value (like with return await f()) has two problems: - It queues an extra microtask, blocking the callstack until return is executed.

Occurrences

There are 8 occurrences of this issue in the repository.

See all occurrences on DeepSource → app.deepsource.com/gh/SupportVol/BackEnd/issue/JS-0111/occurrences/