You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enqueue clamps weight to the live maxWeight. setWeight(id, weight) updates a still-pending task's weight (also clamped) — useful when maxWeight was lowered between deploys.
Typed dispatch: enqueue(definition, options) overload infers options.data from the TaskDefinition<P> generic. defineTask<P, R> already typed data inside run; this propagates the type all the way to the call site.
Cancelled or failed tasks can be replayed; replay(id) auto-detects the source bucket (CANCELED or FAILED) and accepts an optional future scheduledAt (otherwise keeps the original).
scheduledAt accepts Date, number (seconds from now), or string (ISO date or numeric seconds-from-now).
resolveScheduledAt exported as a public utility.
POC emitters accept scheduledAt and weight via query string.