Does nanoid have async/await option or will it always block ? #498
Closed
rajathgunners
started this conversation in
General
Replies: 1 comment
-
We had async version before, but not anymore. The main problems are:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just had a doubt on whether nanoid library can be used with await to make sure it does not block the main thread.
Does this code snippet work or have any effect?
const id = await nanoid()
Beta Was this translation helpful? Give feedback.
All reactions