Mark an object to be exposed for remote interaction
and give it a suggestive interface name for debugging.
All properties of the object have to be methods, not data.
The object must not be hardened before it is marked.
It will be hardened after marking.
For far objects (as opposed to far functions), also adds
__getMethodNames__ method that returns an array of all the method names,
if there is not yet any method named __getMethodNames__.
Type Parameters
Textends{}
Parameters
farName: string
This name will be prepended with Alleged:
for now to form the Remotableiface argument.
Mark an object to be exposed for remote interaction and give it a suggestive interface name for debugging.
All properties of the object have to be methods, not data.
The object must not be hardened before it is marked. It will be hardened after marking.
For far objects (as opposed to far functions), also adds
__getMethodNames__
method that returns an array of all the method names, if there is not yet any method named__getMethodNames__
.