Task runtime API
TaskRunner runs tasks in workers or locally and manages their
resources. A task describes the calculation; the runner handles execution.
For a first example, start with getting started. For methods, options, and lifecycle details, use the TaskRunner reference. See the migration guide for upgrade instructions.