Type parameters
T
Hierarchy
IDeref
<
T
>
IRelease
IWatch
<
T
>
ReadonlyAtom
IAtom
Index
Methods
add
Watch
deref
notify
Watches
release
remove
Watch
Methods
add
Watch
add
Watch
(
id
:
string
, fn
:
Watch
<
T
>
)
:
boolean
Parameters
id:
string
fn:
Watch
<
T
>
Returns
boolean
deref
deref
(
)
:
T
Returns wrapped value.
Returns
T
notify
Watches
notify
Watches
(
oldState
:
T
, newState
:
T
)
:
void
Parameters
oldState:
T
newState:
T
Returns
void
release
release
(
opt
?:
any
)
:
boolean
Parameters
Optional
opt:
any
Returns
boolean
remove
Watch
remove
Watch
(
id
:
string
)
:
boolean
Parameters
id:
string
Returns
boolean
Globals
"api"
"atom"
"cursor"
"history"
"idgen"
"index"
"transacted"
"view"
Cursor
Opts
IAtom
IHistory
IReset
ISwap
IView
Readonly
Atom
add
Watch
deref
notify
Watches
release
remove
Watch
Swap
Fn
Generated using
TypeDoc
Returns wrapped value.