Skip to content
Developer Preview

ServeIsIdleResult

Experimental

The serve/isIdle result: whether serve can shut down for now, and the earliest armed fire time.

  • idle — Experimental
  • nextWakeAt — Experimental
Source

schema/msp/experimental/msp.schema.json#/types/ServeIsIdleResult

{
"description": "The `serve/isIdle` result: whether serve can shut down for now,\nand the earliest armed fire time.",
"properties": {
"idle": {
"description": "True iff no session has running work.",
"type": "boolean"
},
"nextWakeAt": {
"description": "The earliest armed fire time in epoch milliseconds (a runtime\nscheduled delivery or an active cron/reminder job), or `None` when\nnothing is armed.",
"type": "integer"
}
},
"required": [
"idle"
],
"type": "object",
"x-msp-descriptor": "serve/isIdle",
"x-msp-stability": "experimental"
}