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
Something I cannot find anywhere in the documentation is argument binding. You see, I would like to call a JS function dynamically but wish to bind the arguments to a template like EM_ASM does. Obviously I now get an error since the code is not in the consts.
Is there any way to call a function name dynamically but with a set amount of arguments and types? This is mostly for type safety and such; but also since apparently the speed would improve over the eval() method.
Sincerely,
The text was updated successfully, but these errors were encountered:
Hi guys,
Something I cannot find anywhere in the documentation is argument binding. You see, I would like to call a JS function dynamically but wish to bind the arguments to a template like EM_ASM does. Obviously I now get an error since the code is not in the consts.
Is there any way to call a function name dynamically but with a set amount of arguments and types? This is mostly for type safety and such; but also since apparently the speed would improve over the eval() method.
Sincerely,
The text was updated successfully, but these errors were encountered: