Skip to content

Commit fbf7b4a

Browse files
authored
Update method signatures in migration guide (#555)
I forgot to update them as part of #550
1 parent 15022ad commit fbf7b4a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: modules/docs/src/main/mdoc/docs/migration.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ New:
8888
def retryingOnFailures[F[_]: Temporal, A](
8989
action: F[A]
9090
)(
91-
policy: RetryPolicy[F],
91+
policy: RetryPolicy[F, A],
9292
valueHandler: ValueHandler[F, A]
9393
): F[Either[A, A]]
9494
```
@@ -140,7 +140,7 @@ New:
140140
def retryingOnErrors[F[_], A](
141141
action: F[A]
142142
)(
143-
policy: RetryPolicy[F],
143+
policy: RetryPolicy[F, Throwable],
144144
errorHandler: ErrorHandler[F, A]
145145
): F[A]
146146
```
@@ -190,7 +190,7 @@ New:
190190
def retryingOnErrors[F[_], A](
191191
action: F[A]
192192
)(
193-
policy: RetryPolicy[F],
193+
policy: RetryPolicy[F, Throwable],
194194
errorHandler: ErrorHandler[F, A]
195195
): F[A]
196196
```
@@ -241,7 +241,7 @@ New:
241241
def retryingOnFailuresAndErrors[F[_], A](
242242
action: F[A]
243243
)(
244-
policy: RetryPolicy[F],
244+
policy: RetryPolicy[F, Either[Throwable, A]],
245245
errorOrValueHandler: ErrorOrValueHandler[F, A]
246246
): F[Either[A, A]]
247247
```
@@ -289,7 +289,7 @@ New:
289289
def retryingOnFailuresAndErrors[F[_], A](
290290
action: F[A]
291291
)(
292-
policy: RetryPolicy[F],
292+
policy: RetryPolicy[F, Either[Throwable, A]],
293293
errorOrValueHandler: ErrorOrValueHandler[F, A]
294294
): F[Either[A, A]]
295295
```

0 commit comments

Comments
 (0)