net.corda.node.services.api / CheckpointStorage / forEach

forEach

abstract fun forEach(block: (Checkpoint) -> Boolean): Unit

Allows the caller to process safely in a thread safe fashion the set of all checkpoints. The checkpoints are only valid during the lifetime of a single call to the block, to allow memory management. Return false from the block to terminate further iteration.