simbootApp
inline suspend fun <T> simbootApp(vararg args: String, crossinline configurator: BootApplicationConfiguration.() -> Unit = {}): BootApplication(source)
使用 Boot 作为 simbot 应用工厂来构建一个 BootApplication.
@SimbootApplication
class Foo
simbootApp<Foo>(args = args) { /* ... */}
Content copied to clipboard