Skip to main content

InternalReadonlyAtom

还没翻译译自英文(tanstack.com)本页 48 段都还没译

Defined in: types.ts:53

Extends

Type Parameters

T

T

Properties

_snapshot

_snapshot: T;

Defined in: types.ts:37

Internal

Inherited from

InternalBaseAtom._snapshot


_update

_update: (getValue?) => boolean;

Defined in: types.ts:39

Internal

Parameters

getValue?

T | ((snapshot) => T)

Returns

boolean

Inherited from

InternalBaseAtom._update


deps?

optional deps?: Link;

Defined in: alien.ts:6

Inherited from

ReactiveNode.deps

depsTail?

optional depsTail?: Link;

Defined in: alien.ts:7

Inherited from

ReactiveNode.depsTail

flags

flags: number;

Defined in: alien.ts:10

Inherited from

ReactiveNode.flags

get

get: () => T;

Defined in: types.ts:30

Returns

T

Inherited from

InternalBaseAtom.get


subs?

optional subs?: Link;

Defined in: alien.ts:8

Inherited from

ReactiveNode.subs

subscribe

subscribe: (observer) => Subscription & (next, error?, complete?) => Subscription;

Defined in: types.ts:21

Inherited from

InternalBaseAtom.subscribe


subsTail?

optional subsTail?: Link;

Defined in: alien.ts:9

Inherited from

ReactiveNode.subsTail