createBootApplication
suspend fun createBootApplication(configurator: BootApplicationConfiguration.() -> Unit = {}, builder: BootApplicationBuilder.(BootApplicationConfiguration) -> Unit = {}): BootApplication(source)
通过 createSimbotApplication 并使用 Boot 作为 Application Factory 来构建一个 BootApplication.
相当于 createSimbotApplication(Boot, configurator, builder)
。
e.g.
createBootApplication({
// config...
}) {
// build...
}
Content copied to clipboard