UNPKG

@configurator/ravendb

Version:
13 lines (12 loc) 509 B
import { ICompareExchangeValue } from "./ICompareExchangeValue"; import { IMetadataDictionary } from "../../Session/IMetadataDictionary"; export declare class CompareExchangeValue<T> implements ICompareExchangeValue { key: string; index: number; value: T; changeVector: string; private _metadataAsDictionary; constructor(key: string, index: number, value: T, changeVector: string, metadata?: IMetadataDictionary); get metadata(): IMetadataDictionary; hasMetadata(): boolean; }