Extending Steep through plugins
Initializers
An initializer plugin is a function that will be called during the
initialization phase of Steep just before components such as the controller or
the scheduler are deployed. If required, the function can be a suspend
function.
Additional properties | Type | |
---|
dependsOn (optional) | array | An optional list of names of other initializer plugins that need to be executed before this plugin. If this property is not given, the order in which initializer plugins are executed is undefined. |
suspend fun myInitializer(vertx: io.vertx.core.Vertx)
- name: myInitializer
type: initializer
scriptFile: conf/plugins/myInitializer.kt
suspend fun myInitializer(vertx: io.vertx.core.Vertx) {
println("Hello from my initializer plugin")
}