Type alias OrHandler<P, A>

OrHandler<P, A>: A | ((value: P) => A)

Or handler for async either values.

Generic

P - the input value, in case of Left it will be R and vice versa.

Type Parameters

  • P

  • A

Generated using TypeDoc