local Http = game:GetService("HttpService")
local Data = setmetatable({},{
__index=function(t,k)
if k == "ActualApi" then
return Http:GetAsync("https://anaminus.github.io/rbx/json/api/latest.json",true)else
return rawget(t,k)
end
end})
print(#Data.ActualApi)
--This error "attempt to yield across metamethod/C-call"
--And "cannot resume non-suspended coroutine"
COMMUNITY QUESTION
How to yield across metamethod?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.
