redux-database
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
DB
MutableDB
Query
Subscription
constructor
_current
_query
db
subscribers
unsubscribe
current
query
cancel
subscribe
trigger
Table
Data
Table
DBAction
empty
Table
guid
reducer
Type parameters
State
:
StateDefining
Value
Hierarchy
Subscription
Index
Constructors
constructor
Properties
_current
_query
db
subscribers
unsubscribe
Accessors
current
query
Methods
cancel
subscribe
trigger
Constructors
constructor
new
Subscription
(
db
:
MutableDB
<
State
>
, query
:
QueryDescriptor
<
State
,
Value
>
)
:
Subscription
Parameters
db:
MutableDB
<
State
>
query:
QueryDescriptor
<
State
,
Value
>
Returns
Subscription
Properties
Private
_current
_current
:
Value
Private
_query
_query
:
QueryDescriptor
<
State
,
Value
>
Private
db
db
:
MutableDB
<
State
>
Private
subscribers
subscribers
:
Array
<
(
value
:
Value
)
=>
void
>
Private
unsubscribe
unsubscribe
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
Accessors
current
get
current
(
)
:
Value
Returns
Value
query
get
query
(
)
:
QueryDescriptor
<
State
,
Value
>
set
query
(
query
:
QueryDescriptor
<
State
,
Value
>
)
:
void
Returns
QueryDescriptor
<
State
,
Value
>
Parameters
query:
QueryDescriptor
<
State
,
Value
>
Returns
void
Methods
cancel
cancel
(
)
:
void
Returns
void
subscribe
subscribe
(
callback
:
(
value
:
Value
)
=>
void
)
:
(
)
=>
void
Parameters
callback:
(
value
:
Value
)
=>
void
(
value
:
Value
)
:
void
Parameters
value:
Value
Returns
void
Returns
(
)
=>
void
(
)
:
void
Returns
void
Private
trigger
trigger
(
)
:
void
Returns
void
Generated using
TypeDoc