跳到主要内容
版本:Next

IPipelineContext

执行pipeline 时当前上下文存储内容

Implemented by

Index

Properties

Methods

Properties

args

args: any

pipeline 执行原始参数

optionalinfo

info?: IPipelineInfo

valve 执行信息

Methods

get

  • get(key: string): any
  • 用于缓存当前 pipeline 执行中的中间过程参数

keys

  • keys(): string[]
  • 返回存在的所有 key

set

  • set(key: string, val: any): void
  • 用于缓存当前 pipeline 执行中的中间过程参数