Ask a question to get started
Enter to sendā¢Shift+Enter new line
class PendingRunsTracker
Snapshot token for useSyncExternalStore compatibility.
Remove a specific entry by ID.
Remove all entries from the tracker.
Remove and return the next pending entry (FIFO).
Subscribe to state changes. Returns an unsubscribe function.
Tracks pending server-side runs created via multitaskStrategy: "enqueue".
multitaskStrategy: "enqueue"
Uses the same subscribe/getSnapshot pattern as StreamManager to integrate with framework-specific reactivity systems.