micro_utils.dokka
Toggle table of contents
0.24.0
common
Platform filter
common
Switch theme
Search in API
micro_utils.dokka
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