End

class End : Step

A step that signifies an end. 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
infix fun does(script: (Flags) -> Unit)

Set the script.

Link copied to clipboard
infix fun ending(ending: Ending)

Set the ending.

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 name(name: String)

Set the name of this step.