mirror of
https://github.com/corda/corda.git
synced 2025-06-19 23:53:52 +00:00
node: add missing @Suspendable
This commit is contained in:
@ -118,7 +118,7 @@ fun Clock.awaitWithDeadline(deadline: Instant, future: Future<*> = SettableFutur
|
||||
|
||||
var nanos = 0L
|
||||
do {
|
||||
doInterruptibly(SuspendableRunnable {
|
||||
doInterruptibly(SuspendableRunnable @Suspendable {
|
||||
nanos = Duration.between(this.instant(), deadline).toNanos()
|
||||
if (nanos > 0) {
|
||||
try {
|
||||
|
Reference in New Issue
Block a user