Hyperlinkv0.9.0-beta.0

Daemon

Daemon.daemonScheduleEntryconstsrc/Daemon.ts:1521
Schema.Struct<{
  readonly id: Schema.optionalKey<Schema.String>
  readonly startAt: Schema.DateTimeUtc
  readonly stopAt: Schema.optionalKey<Schema.DateTimeUtc>
}>

One scheduled run window on the wire — the wire form of the engine's DaemonScheduleEntry. The engine models id / stopAt as Option and the times as Date; the toolkit standard is DateTime.Utc and optionalKey, so the runtime maps between them. startAt is when the run instance triggers; stopAt (absent = open-ended) is when it stops.

scheduleDaemonScheduleEntry
Source src/Daemon.ts:15215 lines
export const daemonScheduleEntry = Schema.Struct({
  id: Schema.optionalKey(Schema.String),
  startAt: Schema.DateTimeUtc,
  stopAt: Schema.optionalKey(Schema.DateTimeUtc),
});
Referenced by 2 symbols