mirror of
https://github.com/esiur/esiur-js.git
synced 2025-05-06 12:32:58 +00:00
makeSetter
This commit is contained in:
parent
4fcb5355bc
commit
dc209690e2
@ -177,6 +177,9 @@ export default class DistributedResource extends IResource
|
||||
if (self._p.suspended)
|
||||
throw new Error("Trying to access a suspended object.");
|
||||
|
||||
if (self._p.attached)
|
||||
return;
|
||||
|
||||
await self._set(index, value);
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user