Skip to content

Commit 3a70a21

Browse files
Remove deprecations
1 parent 8eb3fdc commit 3a70a21

10 files changed

Lines changed: 6 additions & 739 deletions

File tree

sdk-api-kotlin/src/main/kotlin/dev/restate/sdk/kotlin/KtSerdes.kt

Lines changed: 0 additions & 175 deletions
This file was deleted.

sdk-api-kotlin/src/main/kotlin/dev/restate/sdk/kotlin/api.kt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -670,14 +670,6 @@ sealed interface DurablePromise<T> {
670670
/** @return the future to await the promise result on. */
671671
suspend fun future(): DurableFuture<T>
672672

673-
@Deprecated(
674-
message = "Use future() instead",
675-
level = DeprecationLevel.WARNING,
676-
replaceWith = ReplaceWith(expression = "future()"))
677-
suspend fun awaitable(): DurableFuture<T> {
678-
return future()
679-
}
680-
681673
/** @return the value, if already present, otherwise returns an empty optional. */
682674
suspend fun peek(): Output<T>
683675
}

sdk-api/src/main/java/dev/restate/sdk/DurablePromise.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,6 @@ public interface DurablePromise<T> {
3636
*/
3737
DurableFuture<T> future();
3838

39-
/**
40-
* @deprecated Use {@link #future()} instead.
41-
*/
42-
@Deprecated(forRemoval = true, since = "2.0")
43-
default DurableFuture<T> awaitable() {
44-
return future();
45-
}
46-
4739
/**
4840
* @return the value, if already present, otherwise returns an empty optional.
4941
*/

0 commit comments

Comments
 (0)