Skip to content

Packages  ›  trotsky  ›  StepBuilder  ›  afterStep

StepBuilder.afterStep() method

Registers a hook to execute after each step.

Signature:

typescript
afterStep(hook: AfterStepHook): this;

Parameters

Parameter

Type

Description

hook

AfterStepHook

The hook function to register.

Returns:

this

The current StepBuilder instance.