The document says that we should capture the parameter of a coroutine if its type is ReactPromise or JSValue? #11146
Answered
by
chrisglein
noelemahcz
asked this question in
Q&A
-
It seems that C++20 ensure that parameters of coroutines are kept in the coroutine frame, which means they will live long enough. |
Beta Was this translation helpful? Give feedback.
Answered by
chrisglein
Feb 6, 2023
Replies: 1 comment 1 reply
-
Which document are you referring to? This one? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
chrisglein
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Which document are you referring to? This one?
https://microsoft.github.io/react-native-windows/docs/native-modules-async