micro_utils.dokka
0.16.1
common
micro_utils.dokka
/
dev.inmo.micro_utils.safe_wrapper
/
SafeWrapper
Safe
Wrapper
interface
SafeWrapper
<
T
>
Types
Functions
Inheritors
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
Inheritors
Default
Link copied to clipboard