map<A, B> function
Implementation
TaskOption<B> Function(
TaskOption<A>,
) map<A, B>(
B Function(A) onSome,
) =>
(taskOption) => () => taskOption().then(
O.map(onSome),
);
TaskOption<B> Function(
TaskOption<A>,
) map<A, B>(
B Function(A) onSome,
) =>
(taskOption) => () => taskOption().then(
O.map(onSome),
);