match
match<
E,A,B>(cases): (data) =>Task<B>
Defined in: Core/TaskResult.ts:106
Pattern matches on a TaskResult, returning a Task of the result.
Type Parameters
Section titled “Type Parameters”E
A
B
Parameters
Section titled “Parameters”(e) => B
(a) => B
Returns
Section titled “Returns”(data) => Task<B>