SavedOutputShortcut

public struct SavedOutputShortcut<Base> : Shortcut where Base : Shortcut

A shortcut that wraps another shortcut, saving its result for later use.

  • The contents of the shortcut.

    Declaration

    Swift

    public var body: some Shortcut { get }
  • Declaration

    Swift

    public init(base: Base, outputVariable: OutputVariable)

    Parameters

    base

    The base shortcut whose result to save

    outputVariable

    The output variable into which to save the result of base