Skip to content
Discussion options

You must be logged in to vote

So, the correct answer is:

Don't call async functions from sync functions in a worker, just __export__ an async function directly and await its counterpart in main thread.

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@jolaf
Comment options

@WebReflection
Comment options

@jolaf
Comment options

@jolaf
Comment options

Answer selected by jolaf
@WebReflection
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants