From ea2054b2e6aa0655eb5267f4876c614abcee73ab Mon Sep 17 00:00:00 2001 From: Jan Buenker Date: Wed, 8 May 2024 18:35:07 +0200 Subject: [PATCH] Make DJFuture::get return a non-nullable value --- support-lib/objc/DJFuture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support-lib/objc/DJFuture.h b/support-lib/objc/DJFuture.h index c456cfe5..a62b3db3 100644 --- a/support-lib/objc/DJFuture.h +++ b/support-lib/objc/DJFuture.h @@ -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.