method Task.prototype.map Task.prototype.map<U,E2 = E,>(fn: (value: T) => Promisable<U>): Task<U, E | E2> Maps the successful value. Errors are passed through unchanged. Type Parameters U E2 = E Parameters fn: (value: T) => Promisable<U> Return Type Task<U, E | E2>