bind
bind<
K,E,A,B>(key,f): (data) =>TaskResult<E,A&{ [P in string]: B }>
Defined in: Core/TaskResult.ts:202
Evaluates a new TaskResult using the current accumulator and attaches the output to a new key.
Type Parameters
Section titled “Type Parameters”K extends string
E
A
B
Parameters
Section titled “Parameters”K
(a) => TaskResult<E, B>
Returns
Section titled “Returns”(data) => TaskResult<E, A & { [P in string]: B }>