Add tests for setting remote function properties
This commit is contained in:
parent
666a668d91
commit
ec44a5d198
3 changed files with 16 additions and 0 deletions
|
@ -154,6 +154,8 @@ const setObjectPrototype = function (ref, object, metaId, descriptor) {
|
|||
// Wrap function in Proxy for accessing remote properties
|
||||
const proxyFunctionProperties = function (remoteMemberFunction, metaId, name) {
|
||||
let loaded = false
|
||||
|
||||
// Lazily load function properties
|
||||
const loadRemoteProperties = () => {
|
||||
if (loaded) return
|
||||
loaded = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue