arrow-continuations
1.0.3-alpha.14
common
arrow-continuations
/
arrow.continuations.generic
/
RestrictedScope
Restricted
Scope
common
interface
RestrictedScope
<
R
>
:
DelimitedScope
<
R
>
Content copied to clipboard
Functions
Functions
shift
Link copied to clipboard
common
open
suspend override
fun
<
A
>
shift
(
r
:
R
)
:
A
Content copied to clipboard
Exit the
DelimitedScope
with
R
abstract
suspend
fun
<
A
>
shift
(
f
:
suspend
RestrictedScope
<
R
>
.
(
DelimitedContinuation
<
A
,
R
>
)
->
R
)
:
A
Content copied to clipboard
Capture the continuation and pass it to
f
.