tooling
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
tooling
tooling-async
/
dev.datlag.tooling.async
/
scopeCatching
scope
Catching
fun
<
T
>
scopeCatching
(
catchTimeout
:
Boolean
=
false
,
block
:
(
)
->
T
)
:
Result
<
T
>
(
source
)
Equivalent of
runCatching
but able to throw
CancellationException
to cancel parent jobs.