Skip to content

Clarification about async docs #440

Closed Answered by ai
alexbaramilis asked this question in Q&A
Aug 23, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

The benefits is not in security, but in performance (CPU usage).

With sync API JS thread could be blocked while CPU collection random noise. With async API, thread could switch to some another task (like processing mouse movements).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@alexbaramilis
Comment options

@ai
Comment options

@ai
Comment options

Answer selected by alexbaramilis
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