Hierarchy (View Summary)

Constructors

Properties

_ctx: object
_inners: Map<never, Scope<any>>
_keys?: never[]

Methods

  • delete property from context

    Parameters

    • propertyKey: never

    Returns boolean

  • get current context object of this scope

    Returns object

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

    Returns object

  • 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: never

      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: never
    • value: any
    • Optionalreceiver: any

    Returns boolean

  • create a scope with the same type of this scope

    Type Parameters

    Parameters

    • propertyKey: never

    Returns S

  • sc

    Type Parameters

    Parameters

    • propertyKey: never
    • Optionalscope: S

    Returns S

  • Type Parameters

    Parameters

    • OptionalpropertyKeys: (keyof T)[]

    Returns ReadOnlyScope<T>

  • Type Parameters

    Parameters

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

    Returns ReadOnlyScope<T>