Constructors
Protected constructor
- new Context(ctx): Context
Properties
Private #private
#private: any
Static Protected metaKey
metaKey: symbol
Methods
all
- all(): Record<string, any>
Returns Record<string, any>
del
- del(key): boolean
Returns boolean
get
- get<T>(key): T
Returns T
set
- set(key, value): void
Returns void
Static run
- run(scenarios, ctx?): Promise<Context>
Parameters
- scenarios: any[]
Optional ctx: Record<string, any>
Returns Promise<Context>
Static Protected runStep
- runStep(step): Promise<void>
Parameters
- step: (() => void | Promise<void>)
- (): void | Promise<void>
Returns void | Promise<void>
Returns Promise<void>