IncompleteSince

Storage Plain v133 → current

Block number from which the agenda became incomplete.

Explore chain
Queried by: developersanalytics

The Big Picture

When set, indicates the scheduler has accumulated a backlog of tasks. Tasks scheduled for earlier blocks may still be pending execution.

Use Cases

  • Monitor scheduler health
  • Detect agenda congestion
  • Track processing delays

Purpose & Usage

Purpose

Track when scheduler fell behind and couldn't process all tasks.

Common Query Patterns

  • Query as optional value - None means agenda is complete

Stored Value

value (u32)

Code Examples

import { createClient, Binary } from "polkadot-api";
import { getWsProvider } from "polkadot-api/ws";
import { sub } from "@polkadot-api/descriptors"; // generated by: npx papi add sub -w wss://entrypoint-finney.opentensor.ai:443

const client = createClient(getWsProvider("wss://entrypoint-finney.opentensor.ai:443"));
const api = client.getTypedApi(sub);

// Query IncompleteSince storage (no keys - plain value)
const result = await api.query.Scheduler.IncompleteSince.getValue();
console.log("IncompleteSince:", result);

Runtime Info

Pallet
Scheduler
Storage Kind
Plain
First Version
v133
Current Version
v411