method Task.prototype.withSignal
Task.prototype.withSignal(signal: AbortSignal): Task<T, E>

Wraps the task with an external abort signal.

Parameters

Return Type

Task<T, E>

Usage

import { Task } from ".";