- class tensorstore.WriteFutures
Handle for consuming the result of an asynchronous write operation.
This holds two futures:
The
copyfuture indicates when reading has completed, after which the source is no longer accessed.The
commitfuture indicates when the write is guaranteed to be reflected in subsequent reads. For non-transactional writes, thecommitfuture completes successfully only once durability of the write is guaranteed (subject to the limitations of the underlying storage mechanism). For transactional writes, thecommitfuture merely indicates when the write is reflected in subsequent reads using the same transaction. Durability is not guaranteed until the transaction itself is committed successfully.
In addition, this class also provides the same interface as
Future, which simply forwards to the corresponding operation on thecommitfuture.See also
Public members¶