Package-level declarations
Functions
Link copied to clipboard
inline fun <T : Any> startApplication(vararg args: String, initializer: Micronaut.() -> Unit = {}): ApplicationContext
Top level function acting as a Kotlin shortcut allowing to write startApplication<Foo>(args) { // Initializer function }
instead of Micronaut.build(*args).mainClass(Foo::class.java).apply({ // Initializer }).start()
.