Skip to content

Packages  ›  trotsky  ›  Trotsky  ›  wait

Trotsky.wait() method

Adds a StepWait step.

Signature:

typescript
wait(duration?: number): this;

Parameters

Parameter

Type

Description

duration

number

(Optional) The duration to wait, in milliseconds.

Returns:

this

The current Trotsky instance.