mirror of
https://github.com/esiur/esiur-dart.git
synced 2025-09-13 20:13:19 +00:00
Sync/Async setters
This commit is contained in:
@@ -443,13 +443,17 @@ class DistributedConnection extends NetworkConnection with IStore {
|
||||
|
||||
if (dataType.identifier ==
|
||||
TransmissionTypeIdentifier.ResourceList) {
|
||||
// remove from suspended.
|
||||
_suspendedResources.remove(r.distributedResourceInstanceId);
|
||||
|
||||
// parse them as int
|
||||
var id = data.getUint32(8);
|
||||
|
||||
// id changed ?
|
||||
if (id != r.distributedResourceInstanceId)
|
||||
r.distributedResourceInstanceId = id;
|
||||
|
||||
_neededResources[id] = r;
|
||||
_suspendedResources.remove(id);
|
||||
|
||||
await fetch(id, null);
|
||||
}
|
||||
|
Reference in New Issue
Block a user