VatData: { canBeDurable: ((specimen: unknown) => boolean); defineDurableKind: (<P, S, F>(kindHandle: DurableKindHandle,
init: ((...args: P) => S),
facet: F,
options?: DefineKindOptions<KindContext<S, F>>) => ((...args: P) => KindFacet<F>)); defineDurableKindMulti: (<P, S, B>(kindHandle: DurableKindHandle,
init: ((...args: P) => S),
behavior: B,
options?: DefineKindOptions<MultiKindContext<S, B>>) => ((...args: P) => KindFacets<B>)); defineKind: (<P, S, F>(tag: string,
init: ((...args: P) => S),
facet: F,
options?: DefineKindOptions<KindContext<S, F>>) => ((...args: P) => KindFacet<F>)); defineKindMulti: (<P, S, B>(tag: string,
init: ((...args: P) => S),
behavior: B,
options?: DefineKindOptions<MultiKindContext<S, B>>) => ((...args: P) => KindFacets<B>)); makeKindHandle: ((descriptionTag: string) => DurableKindHandle); makeScalarBigMapStore: (<K, V>(label: string,
options?: StoreOptions) => MapStore<K, V>); makeScalarBigSetStore: (<K>(label: string,
options?: StoreOptions) => SetStore<K>); makeScalarBigWeakMapStore: (<K, V>(label: string,
options?: StoreOptions) => WeakMapStore<K, V>); makeScalarBigWeakSetStore: (<K>(label: string,
options?: StoreOptions) => WeakSetStore<K>); providePromiseWatcher: WatchedPromisesManager["providePromiseWatcher"]; watchPromise: WatchedPromisesManager["watchPromise"]; } Type declaration
canBeDurable: ((specimen: unknown) => boolean)
- (specimen): boolean
Returns boolean
defineKind: (<P, S, F>(tag: string, init: ((...args: P) => S), facet: F, options?: DefineKindOptions<KindContext<S, F>>) => ((...args: P) => KindFacet<F>))
defineKindMulti: (<P, S, B>(tag: string, init: ((...args: P) => S), behavior: B, options?: DefineKindOptions<MultiKindContext<S, B>>) => ((...args: P) => KindFacets<B>))
makeKindHandle: ((descriptionTag: string) => DurableKindHandle)
makeScalarBigMapStore: (<K, V>(label: string, options?: StoreOptions) => MapStore<K, V>)
makeScalarBigSetStore: (<K>(label: string, options?: StoreOptions) => SetStore<K>)
makeScalarBigWeakMapStore: (<K, V>(label: string, options?: StoreOptions) => WeakMapStore<K, V>)
makeScalarBigWeakSetStore: (<K>(label: string, options?: StoreOptions) => WeakSetStore<K>)
providePromiseWatcher: WatchedPromisesManager["providePromiseWatcher"]
watchPromise: WatchedPromisesManager["watchPromise"]
Deprecated
Use defineDurableExoClass instead