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

simplify spawning threads #234

Merged
merged 2 commits into from
Feb 8, 2025
Merged

simplify spawning threads #234

merged 2 commits into from
Feb 8, 2025

Conversation

VictoriqueMoe
Copy link
Member

worker threads could be used a lot more in the future, and because of such things, i have made spawning threads a lot easier by calling one method that will return the worker and a promise that will resolve to the value that the worker will produce.

if you pass a file as a string to the util function, it assumes that it will be relative to src/workers

@VictoriqueMoe VictoriqueMoe merged commit ae795c6 into main Feb 8, 2025
1 check passed
@VictoriqueMoe VictoriqueMoe deleted the simplify-threads branch February 8, 2025 11:54
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.

2 participants