2
0
mirror of https://github.com/esiur/esiur-dart.git synced 2026-04-03 17:58:21 +00:00
This commit is contained in:
2021-02-20 00:10:06 +03:00
parent 4c36f591da
commit cb8e6d5430
9 changed files with 637 additions and 681 deletions

View File

@@ -916,12 +916,12 @@ class DistributedConnection extends NetworkConnection with IStore
/// </summary>
/// <param name="resource">Resource.</param>
/// <returns></returns>
bool put(IResource resource)
AsyncReply<bool> put(IResource resource)
{
if (Codec.isLocalResource(resource, this))
_resources.add((resource as DistributedResource).id, resource);
// else .. put it in the server....
return true;
return AsyncReply.ready(true);
}