Class Context

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

  • Parameters

    • ctx: Record<string, any>

    Returns Context

Properties

#private: any
metaKey: symbol

Methods

  • Returns Record<string, any>

  • Parameters

    • key: string

    Returns boolean

  • Type Parameters

    • T = unknown

    Parameters

    • key: string

    Returns T

  • Parameters

    • key: string
    • value: any

    Returns void

  • Parameters

    • scenarios: any[]
    • Optional ctx: Record<string, any>

    Returns Promise<Context>

  • Parameters

    • step: (() => void | Promise<void>)
        • (): void | Promise<void>
        • Returns void | Promise<void>

    Returns Promise<void>