skip

suspend fun skip(target: AggregateRef, failedAt: Long? = null): Int?

Cancels the PARKED timers of target with the outcome SKIPPED and resolves its ledger entry: an operator's skip (resolve). One that names the parking at failedAt cancels nothing unless the target's entry is that parking (#7422): resolved since, by a retry, or resolved and parked again, by a retry whose timer failed again. The entry is read just before the cancel, with no lock across the nodes, as resolve reads the timers.

Return

how many timers were skipped; null when the entry is not the parking at failedAt.