Scheduled

data class Scheduled(val taskId: String, val at: Instant, val request: WorkRequest) : MonitorEvent

A new request was accepted by the scheduler. Fires for both fresh registrations and Replace-policy overwrites; for Replace, ScheduleReplaced is also emitted with the previous request.

Constructors

Link copied to clipboard
constructor(taskId: String, at: Instant, request: WorkRequest)

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.