Mention remote interfaces forbid function args

Place to report issues and suggest improvements to the API documentation.
lyvgbfh
Fast Inserter
Fast Inserter
Posts: 169
Joined: Fri Jul 10, 2020 6:48 pm
Contact:

Mention remote interfaces forbid function args

Post by lyvgbfh »

On the LuaRemote class it does not mention that defining an interface that takes a function argument is forbidden. This is implied, but not expressly clear.
... :: Any

Arguments to pass to the called function. Note that any arguments passed through the interface are a copy of the original, not a reference. Metatables are not retained, while references to LuaObjects stay intact.
Please mention that functions are forbidden. I wasted a bit of time creating an interface that took functions :?
Post Reply

Return to “Documentation Improvement Requests”