Simple Robot
Toggle table of contents
5.0.0-Preview4
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Simple Robot
simbot-common-suspend-runner
/
love.forte.simbot.suspendrunner
/
asPublisher
as
Publisher
jvm
@
InternalSimbotAPI
fun
<
T
>
asPublisher
(
context
:
CoroutineContext
?
=
null
,
block
:
suspend
(
)
->
T
)
:
Publisher
<
T
&
Any
>
(
source
)
将
block
包装为
org.reactivestreams.Publisher
.