@@ -31,13 +31,15 @@ |
||
| 31 | 31 | * @param class-string<\Throwable>[] $retry_on |
| 32 | 32 | * @return T |
| 33 | 33 | */ |
| 34 | - public function do( |
|
| 34 | + public function do { |
|
| 35 | + ( |
|
| 35 | 36 | callable $try, |
| 36 | 37 | array $retry_on, |
| 37 | 38 | int $max_retry, |
| 38 | 39 | int $interval_on_retry_ns, |
| 39 | 40 | ) { |
| 40 | 41 | $result = null; |
| 42 | + } |
|
| 41 | 43 | |
| 42 | 44 | $loop_canceller = |
| 43 | 45 | /** @param-out T $result */ |