Skip to content

Commit 0228a70

Browse files
authored
Update src/main/java/dev/openfeature/sdk/Awaitable.java
Signed-off-by: Todd Baert <[email protected]>
1 parent 596fe22 commit 0228a70

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/dev/openfeature/sdk/Awaitable.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
* A class to help with synchronization by allowing the optional awaiting of the associated action.
55
*/
66
public class Awaitable {
7+
8+
/**
9+
* An already-completed Awaitable. Awaiting this will return immediately.
10+
*/
711
public static final Awaitable FINISHED = new Awaitable(true);
812

913
private boolean isDone = false;

0 commit comments

Comments
 (0)