Simple Robot
Toggle table of contents
4.11.0
common
Platform filter
common
Switch theme
Search in API
Simple Robot
simbot-common-core
/
love.forte.simbot.common.services
/
addProviderExceptJvm
add
Provider
Except
Jvm
inline
fun
<
T
:
Any
>
Services
.
addProviderExceptJvm
(
type
:
KClass
<
T
>
,
crossinline
providerCreator
:
(
)
->
T
)
(
source
)
只有在
非Jvm
平台上添加
providerCreator
。