UNPKG

@configurator/ravendb

Version:
14 lines (13 loc) 714 B
import { Lazy } from "../Lazy"; import { CompareExchangeValue } from "../Operations/CompareExchange/CompareExchangeValue"; import { CompareExchangeResultClass } from "../../Types"; export interface ILazyClusterTransactionOperations { getCompareExchangeValue<T>(key: string): Lazy<CompareExchangeValue<T> | null>; getCompareExchangeValue<T>(key: string, type: CompareExchangeResultClass<T>): Lazy<CompareExchangeValue<T> | null>; getCompareExchangeValues<T>(keys: string[]): Lazy<{ [key: string]: CompareExchangeValue<T> | null; }>; getCompareExchangeValues<T>(keys: string[], type: CompareExchangeResultClass<T>): Lazy<{ [key: string]: CompareExchangeValue<T> | null; }>; }