Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does jscpd support synchronization methods ? #624

Closed
yangliguo7 opened this issue Feb 7, 2024 · 1 comment
Closed

Does jscpd support synchronization methods ? #624

yangliguo7 opened this issue Feb 7, 2024 · 1 comment

Comments

@yangliguo7
Copy link

Due to some unavoidable reasons, I am unable to use async and await

However, jscpd only has asynchronous methods and requires the use of async or await to obtain results

so ,could we suppry a synchronization methods withoud async / await

such as

const data = jscpd.xxx(path)

@kucherenko
Copy link
Owner

no, it is not supported and cant be implemented in this way with current architecture and js

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

No branches or pull requests

2 participants