Arrow
1.1.5
common
arrow-fx-coroutines
/
arrow.fx.coroutines
/
Race3
Race3
sealed
class
Race3
<
out
A
,
out
B
,
out
C
>
(
source
)
Types
Functions
Inheritors
Types
First
Link copied to clipboard
data
class
First
<
A
>
(
val
winner
:
A
)
:
Race3
<
A
,
Nothing
,
Nothing
>
Second
Link copied to clipboard
data
class
Second
<
B
>
(
val
winner
:
B
)
:
Race3
<
Nothing
,
B
,
Nothing
>
Third
Link copied to clipboard
data
class
Third
<
C
>
(
val
winner
:
C
)
:
Race3
<
Nothing
,
Nothing
,
C
>
Functions
fold
Link copied to clipboard
inline
fun
<
D
>
fold
(
ifA
:
(
A
)
->
D
,
ifB
:
(
B
)
->
D
,
ifC
:
(
C
)
->
D
)
:
D
Inheritors
First
Link copied to clipboard
Second
Link copied to clipboard
Third
Link copied to clipboard