micro_utils.dokka
0.17.7
common
micro_utils.dokka
/
dev.inmo.micro_utils.safe_wrapper
/
SafeWrapper
/
Default
Default
class
Default
<
T
>
(
t
:
T
)
:
SafeWrapper
<
T
>
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