Const
Optional
params: TaskParamsReadonly
_tag: stringRun an async operation with explicit try/catch/finally semantics Returns a raw Promise that can interact with traditional Promise-based code
Run an async operation with progress tracking capabilities Returns a Promise and provides progress updates via callback
Run a synchronous operation with explicit try/catch/finally semantics Returns an Either for functional error handling
Create a task that can be cancelled
Create a cancellation token source
Create a failed Task result
Format the error chain as a string with the option to include task details
Convert a Node.js style callback function to a Task-compatible function Node.js callbacks typically have the signature (error, result) => void
Convert a Promise-returning function to a Task-compatible function
Extract the error chain from a Throwable error Returns an array of errors from outermost to innermost
Race multiple tasks and return the result of the first one to complete Optionally specify a timeout after which the race will fail
Create a successful Task result
Convert a Task result to a Promise
Creates a task with progress tracking
Task adapter for bridging promise-based code with functional error handling patterns