Cancelled

data class Cancelled(val taskId: String, val at: Instant, val source: CancelSource) : MonitorEvent

The task was removed. source discriminates user-initiated cancellation from library-internal teardown (shutdown) and replacement-triggered cancellation.

Constructors

Link copied to clipboard
constructor(taskId: String, at: Instant, source: CancelSource)

Properties

Link copied to clipboard
open override val at: Instant

Wall-clock time the event was emitted.

Link copied to clipboard
Link copied to clipboard
open override val taskId: String

The task this event belongs to.