toggle menu
micro_utils.dokka
0.20.24
common
switch theme
search in API
micro_utils.dokka
/
dev.inmo.micro_utils.safe_wrapper
/
SafeWrapper
Safe
Wrapper
interface
SafeWrapper
<
T
>
(
source
)
Inheritors
Default
Members
Types
Companion
Link copied to clipboard
object
Companion
Default
Link copied to clipboard
class
Default
<
T
>
(
t
:
T
)
:
SafeWrapper
<
T
>
Functions
safe
Link copied to clipboard
open
fun
<
R
>
safe
(
block
:
T
.
(
)
->
R
)
:
Result
<
R
>
safe
S
Link copied to clipboard
open
suspend
fun
<
R
>
safeS
(
block
:
suspend
T
.
(
)
->
R
)
:
Result
<
R
>
unsafe
Link copied to clipboard
open
fun
<
R
>
unsafe
(
block
:
T
.
(
)
->
R
)
:
R
unsafe
S
Link copied to clipboard
open
suspend
fun
<
R
>
unsafeS
(
block
:
suspend
T
.
(
)
->
R
)
:
R
unsafe
Target
Link copied to clipboard
abstract
fun
unsafeTarget
(
)
:
T