diff options
-rw-r--r-- | datastore-redesign.html | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/datastore-redesign.html b/datastore-redesign.html index e53f760..585e3b2 100644 --- a/datastore-redesign.html +++ b/datastore-redesign.html @@ -339,8 +339,8 @@ with the same <code>tree_id</code> already in datastore. </p> <p> - Actual file storage and index update happen asynchronously, emitting the - signal <code>Saved(tree_id, parent_id, child_id)</code> on completion. + File storage happens synchronously, emitting the signal <code>Saved(tree_id, parent_id, child_id)</code> on + completion (i.e. before returning from save()). </p> <p> If <code>path</code> is non-empty it designates a file or directory containing the data and the @@ -367,8 +367,7 @@ <dt><code>get_data(tree_id, version_id)</code></dt> <dd>Hardlinks the given object into a global directory, making it readable (directories also - writable) to the caller. Returns the path after checking the entry for validity; actual data is written - asynchronously. + writable) to the caller. Fully synchronous. Emits signal <code>GotData(sender, tree_id, version_id, path)</code> where <code>sender</code> is the bus name of the sender. </dd> |