This commit is contained in:
Christien Rioux 2023-08-01 00:40:11 -04:00
parent 7b25517a40
commit 8913f827ff
2 changed files with 8 additions and 1 deletions

View File

@ -403,7 +403,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.1.6"
version: "0.1.7"
win32:
dependency: transitive
description:

View File

@ -1,3 +1,10 @@
/// Eventual is like Dart's "Completer"
/// It is a thread-safe concurrent data future that may eventually resolve to a value
/// Three variants exist
/// Eventual, which will complete each 'instance' future to that instance's value (can be different per instance) only when 'resolve' is called.
/// EventualValue, which will complete each 'instance' future when 'resolve' is called with an owned value, and one of those instances may 'take' the value.
/// EventualValueClone, which will complete each 'instance' future when 'resolve' is called with a Clone-able value, and any of those instances may get a clone of that value.
/// The future returned from an Eventual::resolve() can also be awaited on to wait until all instances have been completed
use super::*;
use eventual_base::*;