Skip to content

Use truly async fs operations instead of sync event loop blocking io#5

Open
abhishekwebcode wants to merge 1 commit intopnxtech:masterfrom
abhishekwebcode:patch-2
Open

Use truly async fs operations instead of sync event loop blocking io#5
abhishekwebcode wants to merge 1 commit intopnxtech:masterfrom
abhishekwebcode:patch-2

Conversation

@abhishekwebcode
Copy link
Copy Markdown

It does not make any sense to use sync io functions inside a Promise as it will anyway block the event loop without any benefit
Async fs module functions inside Promise will help to asynchonously load keys giving better performance

It does not make any sense to use sync io functions inside a Promise as it will anyway block the event loop without any benefit
Async fs module functions inside Promise will help to asynchonously load keys giving better performance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant