Net
/
com.drake.net.transform
Package com.
drake.
net.
transform
Types
Functions
Types
DeferredTransform
Link copied to clipboard
data class
DeferredTransform
<
T
,
R
>(deferred:
Deferred
<
T
>, block: (
T
) ->
R
)
Content copied to clipboard
Functions
transform
Link copied to clipboard
fun <
T
,
R
>
Deferred
<
T
>.
transform
(block: (
T
) ->
R
):
DeferredTransform
<
T
,
R
>
Content copied to clipboard
可以将
Deferred
返回结果进行转换
block
在
Deferred
执行成功返回结果时执行