release method
Releases claim whose action failed before dispatch completed.
Implementations may keep the lease until it expires instead when a dispatch result is uncertain.
Implementation
@override
Future<void> release(ScheduleClaim claim) async {
final lock = await locks.restoreLock(
_lockKey(claim.occurrence),
claim.token,
);
await lock.release();
}