Home Reference Source
import LocalSnapshot from 'remote-context/lib/LocalSnapshot.js'
public class | source

LocalSnapshot

Constructor Summary

Public Constructor
public

constructor(value: *)

Create a snapshot from the given value.

Member Summary

Public Members
public get

Get the value properties descriptors snapshot.

public get

Get the value properties descriptors snapshot.

public get

Get the value prototype snapshot.

public get

value: *

Get the original value.

Method Summary

Public Methods
public

update(localReference: LocalReference): void

Update the local reference of this value with a new version of this snapshot value.

Public Constructors

public constructor(value: *) source

Create a snapshot from the given value.

Params:

NameTypeAttributeDescription
value *

The given value

Public Members

public get cachedGetters: object | undefined source

Get the value properties descriptors snapshot.

public get ownPropertyDescriptors: object | undefined source

Get the value properties descriptors snapshot.

public get prototype: object | undefined source

Get the value prototype snapshot.

public get value: * source

Get the original value.

Public Methods

public update(localReference: LocalReference): void source

Update the local reference of this value with a new version of this snapshot value.

Params:

NameTypeAttributeDescription
localReference LocalReference

The local reference of this snapshot value

Return:

void