StepListener

interface StepListener

Provides an interface for listeners for Step change events.

Functions

Link copied to clipboard
abstract fun enter(step: Step, flags: Flags, canSkip: Boolean, cancellationToken: CancellationToken)

Invoke the listener to notify entry of a specified step and flags, canSkip indicates if the step can be skipped. A cancellationToken must be provided to support cancellation.

Link copied to clipboard
abstract fun exit(step: Step, flags: Flags)

Invoke the listener to notify exit of a specified step with flags.