Skip to content

Commit

Permalink
Make DJFuture::get return a non-nullable value
Browse files Browse the repository at this point in the history
  • Loading branch information
jb-gcx committed May 8, 2024
1 parent 3f40e5a commit ea2054b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support-lib/objc/DJFuture.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
// If the future is ready, then calling its `get` method will not block.
- (BOOL) isReady;
// Block and wait for the result (or exception). This can only be called once.
- (nullable DJValue) get;
- (nonnull DJValue) get;
// Tell the future to Call the specified handler routine when it becomes
// ready. Returns a new future that wraps the return value of the handler
// routine. The current future becomes invalid after this call.
Expand Down

0 comments on commit ea2054b

Please sign in to comment.