match<B> method

TaskBuilder<B> match<B>({
  1. required B none,
  2. required B some(
    1. A
    ),
})

Implementation

TX.TaskBuilder<B> match<B>({
  required B none,
  required B Function(A) some,
}) =>
    TX.TaskBuilder(
      TO.match(
        onNone: none,
        onSome: some,
      )(_f),
    );