Arrow
Toggle table of contents
2.0.0
common
Platform filter
common
Switch theme
Search in API
Arrow
arrow-fx-coroutines
/
arrow.fx.coroutines
/
Race3
Race3
sealed
class
Race3
<
out
A
,
out
B
,
out
C
>
Inheritors
First
Second
Third
Members
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