finished

fun finished(at: Instant = Instant.now()): CollectorRun

Create a copy marked finished at the given instant.

Return

a copy with finishedAt set

Parameters

at

When the run finished (defaults to now)