Pause

class Pause : Step

A step that provides a pause. A setup must be specified.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override var identifier: StepIdentifier

Get an identifier for this Step.

Link copied to clipboard
open override var name: String

Get the name of this Step.

Functions

Link copied to clipboard
open operator override fun invoke(flags: Flags, cancellationToken: CancellationToken): StepResult

Invoke the step with the specified flags to return a StepResult. A cancellationToken must be provided to allow for the story to be cancelled.

Link copied to clipboard
infix fun milliseconds(delayInMs: Long)

Set the delay (in milliseconds).

Link copied to clipboard
infix fun name(name: String)

Set the name of this step.

Link copied to clipboard
infix fun seconds(delayInS: Long)

Set the delay (in seconds).