toggle menu
Quiver Library
jvm
switch theme
search in API
Quiver Library
/
app.cash.quiver.continuations
/
OutcomeEagerEffectScope
Outcome
Eager
Effect
Scope
@
JvmInline
value
class
OutcomeEagerEffectScope
<
E
>
(
cont
:
EagerEffectScope
<
Either
<
Failure
<
E
>
,
Absent
>
>
)
:
EagerEffectScope
<
Either
<
Failure
<
E
>
,
Absent
>
>
(
source
)
Members
Constructors
Outcome
Eager
Effect
Scope
Link copied to clipboard
constructor
(
cont
:
EagerEffectScope
<
Either
<
Failure
<
E
>
,
Absent
>
>
)
Functions
attempt
Link copied to clipboard
open
suspend
fun
<
E
,
A
>
attempt
(
f
:
suspend
EagerEffectScope
<
E
>
.
(
)
->
A
)
:
suspend
EagerEffectScope
<
E
>
.
(
)
->
A
bind
Link copied to clipboard
suspend
fun
<
B
>
Outcome
<
E
,
B
>
.
bind
(
)
:
B
open
suspend
fun
<
B
>
Either
<
Either
<
Failure
<
E
>
,
Absent
>
,
B
>
.
bind
(
)
:
B
open
suspend
fun
<
B
>
Validated
<
Either
<
Failure
<
E
>
,
Absent
>
,
B
>
.
bind
(
)
:
B
open
suspend
fun
<
B
>
EagerEffect
<
Either
<
Failure
<
E
>
,
Absent
>
,
B
>
.
bind
(
)
:
B
open
suspend
fun
<
B
>
EagerEffect
<
Either
<
Failure
<
E
>
,
Absent
>
,
B
>
.
bind
(
)
:
B
open
suspend
fun
<
B
>
Option
<
B
>
.
bind
(
shift
:
(
)
->
Either
<
Failure
<
E
>
,
Absent
>
)
:
B
open
suspend
fun
<
B
>
Result
<
B
>
.
bind
(
transform
:
(
Throwable
)
->
Either
<
Failure
<
E
>
,
Absent
>
)
:
B
catch
Link copied to clipboard
open
infix
fun
<
E
,
A
>
suspend
EagerEffectScope
<
E
>
.
(
)
->
A
.
catch
(
recover
:
EagerEffectScope
<
Either
<
Failure
<
E
>
,
Absent
>
>
.
(
E
)
->
A
)
:
A
ensure
Link copied to clipboard
open
suspend
fun
ensure
(
condition
:
Boolean
,
shift
:
(
)
->
Either
<
Failure
<
E
>
,
Absent
>
)
shift
Link copied to clipboard
open
suspend override
fun
<
B
>
shift
(
r
:
Either
<
Failure
<
E
>
,
Absent
>
)
:
B