StepRegistryDsl

A DSL for registering Steps in a declarative way.

Example usage:

registerSteps {
step { FraudCheck() }
step { CreditCheck() }
}

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun <C : ExecutionContext> step(factory: () -> Step<C>)

Registers a step by providing a factory lambda.