step

fun <C : ExecutionContext> step(factory: () -> Step<C>)

Registers a step by providing a factory lambda.

Parameters

factory

A lambda that produces a Step instance.