UNPKG
sokore
Version:
latest (3.4.6)
3.4.6
3.4.5
3.4.4
3.4.2
3.4.1
3.4.0
3.3.4
3.3.3
3.3.1
3.3.0
3.2.1
3.2.0
3.1.2
3.1.1
3.1.0
3.0.1
2.3.8
2.3.4
2.3.1
2.3.0
2.2.2
2.2.1
2.2.0
Simple object based hook and state manager for React.
github.com/ksoze84/sokore
ksoze84/sokore
sokore
/
lib
/
subscriptions.d.ts
4 lines
(3 loc)
•
293 B
TypeScript
View Raw
1
2
3
4
export
declare
const
pushSubscription
:
(
koreName
:
string
,
subscription
: (updatedKore:
any
) =>
any
) =>
Map
<
string
, (
(
updatedKore
:
any
) =>
any
)[]>;
export
declare
const
unsubscribe
:
(
object
:
any
,
koreName
:
string
) =>
void
;
export
declare
const
callSubscriptors
:
(
kore
:
any
) =>
void
|
undefined
;