Hierarchy (View Summary)

Constructors

Properties

_ctx: { [pipeName: string]: Function }
_inners: Map<string | number, Scope<any>>
_keys?: (string | number)[]

Methods

  • delete property from context

    Parameters

    • propertyKey: string | number

    Returns boolean

  • get value of propertyKey in current context

    Parameters

    • pipeName: string

    Returns any

  • get current context object of this scope

    Returns { [pipeName: string]: Function }

  • get a proxy of the current context object if exists.

    Returns { [pipeName: string]: Function }

  • get a scope for an object named as propertyKey from cache map,

    if the current value is not type od object, will return undefined.

    Type Parameters

    Parameters

    • propertyKey: string | number

      the name of the property

    Returns undefined | S

  • is current context has propertyKey in hash map keys

    Parameters

    • pipeName: string

    Returns boolean

  • set the value of propertyKey in current context, could be instilled with value.

    Parameters

    • propertyKey: string | number
    • value: any
    • Optionalreceiver: any

    Returns boolean

  • create a scope with the same type of this scope

    Type Parameters

    Parameters

    • propertyKey: string | number

    Returns S

  • sc

    Type Parameters

    Parameters

    • propertyKey: string | number
    • Optionalscope: S

    Returns S

  • Type Parameters

    Parameters

    • OptionalpropertyKeys: (keyof T)[]

    Returns ReadOnlyScope<T>

  • Type Parameters

    Parameters

    • ctx: T
    • OptionalpropertyKeys: (keyof T)[]

    Returns ReadOnlyScope<T>