You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was just wondering how to use the JsRuntime::call method. I can't find any decent examples online and I'm unsure how to use the method. I would expect to just pass a string of the function name, but instead it expects a reference to a Global. I can't find a way to get this Function struct though, clearly I have to somehow obtain it from the JsRuntime, but I can't figure it out. Clearly this repo is lacking in examples, which is understandable, but I would just like to know how to use this method.
The text was updated successfully, but these errors were encountered:
I was just wondering how to use the JsRuntime::call method. I can't find any decent examples online and I'm unsure how to use the method. I would expect to just pass a string of the function name, but instead it expects a reference to a Global. I can't find a way to get this Function struct though, clearly I have to somehow obtain it from the JsRuntime, but I can't figure it out. Clearly this repo is lacking in examples, which is understandable, but I would just like to know how to use this method.
The text was updated successfully, but these errors were encountered: