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

async method cannot be called in parallel #386

Open
regnete opened this issue Apr 24, 2023 · 0 comments
Open

async method cannot be called in parallel #386

regnete opened this issue Apr 24, 2023 · 0 comments
Assignees

Comments

@regnete
Copy link

regnete commented Apr 24, 2023

Due to implementation details in async.js the async methods (e.g. searchAsync) cannot be called in parallel.
During execution of an sync method call, an instance variable is set in the index. in parallel execution would break this pattern.
even calling search (not async) while searchAsync is currently processed would cause issues.

@ts-thomas ts-thomas self-assigned this Jan 6, 2024
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