Guarantees on yieldability of __call metamethod? #1116
Unanswered
HaroldCindy
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been looking at the various API guarantees that Luau makes, and noticed that while it says that metamethods do not allow yielding,
__call
currently does. It seems pretty obvious that__call
should work given how little work allowing that requires under the current VM, but I don't see that behavior guaranteed anywhere.Is this something that's liable to change, or can we rely on the yieldability of
__call
in future versions?Beta Was this translation helpful? Give feedback.
All reactions