Paul N
06/17/2020, 11:18 AM@Retryable(backoff = @Backoff(delay = 2222)) // won't compile
fun doIt() {
}
Java:
public class Delme {
@Retryable(backoff = @Backoff(delay = 2222))
void doIt() {
}
}
kqr
06/17/2020, 11:29 AMthanksforallthefish
06/17/2020, 11:30 AM@Retryable(backoff = Backoff(delay = 2222))
or
@Retryable(backoff = [Backoff(delay = 2222)])
I don’t remember exactlykqr
06/17/2020, 11:32 AMIf an annotation is used as a parameter of another annotation, its name is not prefixed with the @ character:
Paul N
06/17/2020, 1:25 PM