TaskClass.prototype.ignore(reason: string): TaskClass<T | undefined, never>
Deliberate non-handling — the Task spelling of promise.catch(Failure.ignore(reason)).
Swallows every rejection (bugs included: this is for cleanup whose failure genuinely
has no consequence) and says so on stderr under QUNITX_DEBUG instead of vanishing.
Unlike every other method this one starts the task: "the outcome does not matter" is not a decision laziness can defer, and eager attachment is what keeps a fire-and-forget call site from ever holding an unobserved rejection.
import { unlink } from 'node:fs/promises'; Task(unlink('/tmp/qunitx-daemon.sock')).ignore('daemon socket unlink'); // fire and forget await Task(unlink('/tmp/qunitx.lock')).ignore('daemon lock unlink'); // or join the cleanup