Skip to content

Commit 3019304

Browse files
committed
Added Value to the Future
1 parent b289fa2 commit 3019304

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Assets/_PackageRoot/Runtime/Future/Future.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public partial class Future<T> : IFuture, IDisposable
3636
private T value = default;
3737
private Exception exception = default;
3838

39+
public T Value => value;
3940
public bool IsCancelled => Status == FutureStatus.Canceled;
4041
public bool IsLoaded => Status == FutureStatus.LoadedFromMemoryCache
4142
|| Status == FutureStatus.LoadedFromDiskCache

Assets/_PackageRoot/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"name": "Ivan Murzak",
66
"url": "https://github.com/IvanMurzak"
77
},
8-
"version": "5.3.1",
8+
"version": "5.3.2",
99
"unity": "2019.2",
1010
"description": "Asynchronous image loading from remote or local destination. It has two layers of configurable Memory and Disk cache systems.",
1111
"dependencies": {

0 commit comments

Comments
 (0)