arrow-core
1.1.4-alpha.18
common
arrow-core
/
arrow.core
/
RecoverEffect
Recover
Effect
interface
RecoverEffect
<
R
>
Functions
Extensions
Functions
bind
Link copied to clipboard
open
fun
<
B
>
Either
<
R
,
B
>
.
bind
(
)
:
B
open
fun
<
B
>
Validated
<
R
,
B
>
.
bind
(
)
:
B
open
fun
<
B
>
EagerEffect
<
R
,
B
>
.
bind
(
)
:
B
open
suspend
fun
<
B
>
Effect
<
R
,
B
>
.
bind
(
)
:
B
open
fun
<
B
>
Option
<
B
>
.
bind
(
shift
:
(
)
->
R
)
:
B
open
fun
<
B
>
Result
<
B
>
.
bind
(
transform
:
(
Throwable
)
->
R
)
:
B
ensure
Link copied to clipboard
open
fun
ensure
(
condition
:
Boolean
,
shift
:
(
)
->
R
)
shift
Link copied to clipboard
abstract
fun
<
B
>
shift
(
r
:
R
)
:
B
Extensions
ensure
Not
Null
Link copied to clipboard
inline
fun
<
R
,
B
:
Any
>
RecoverEffect
<
R
>
.
ensureNotNull
(
value
:
B
?
,
shift
:
(
)
->
R
)
:
B