TaskContext
Type. Abort context passed to a Task handler.
Table of contents
Category
Type
Type import
tsimport type { TaskContext } from "valyrian.js/tasks";Public signature
tstype TaskContext = { signal: AbortSignal; };Type usage
TaskContext gives a handler the AbortSignal for its current run.