Packages › trotsky › StepBuilder › beforeStep
StepBuilder.beforeStep() method
Registers a hook to execute before each step.
Signature:
typescript
beforeStep(hook: BeforeStepHook): this;Parameters
Parameter | Type | Description |
|---|---|---|
hook | BeforeStepHook | The hook function to register. |
Returns:
this
The current StepBuilder instance.