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
Option to obtain self in a callback which has the information of which resource invoked the callback and the possibility of making a private callback that can only be executed by the same resource
The text was updated successfully, but these errors were encountered:
Unlike this in JS you must explicitly pass self as an argument (using : is just sugar syntax). That would be a breaking change, requiring syntax changes and offsetting all parameters. As-is, callbacks don't even construct a table that could be used as self.
I have considered deprecating the current callbacks in favour of a more appropriately named RPC module, but no planning has been done on that front.
Option to obtain
self
in a callback which has the information of which resource invoked the callback and the possibility of making a private callback that can only be executed by the same resourceThe text was updated successfully, but these errors were encountered: