Interactive

A step that contains an interactive. 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 args(args: Array<String>)

Set the args to pass when invoking the InteractiveComponent.

Link copied to clipboard
infix fun element(interactiveComponent: InteractiveComponent)

Set the InteractiveComponent element.

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.