toggle menu
micro_utils.dokka
0.20.47
common
switch theme
search in API
micro_utils.dokka
/
dev.inmo.micro_utils.safe_wrapper
/
SafeWrapper
/
Default
Default
class
Default
<
T
>
(
t
:
T
)
:
SafeWrapper
<
T
>
(
source
)
Members
Constructors
Default
Link copied to clipboard
constructor
(
t
:
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
open
override
fun
unsafeTarget
(
)
:
T