Preparing search index...
The search index is not available
react-declarative - v2.6.90
react-declarative
useSubscription
Function useSubscription
Subscribes to a function and triggers it as a side effect.
use
Subscription
(
fn
)
:
void
Parameters
fn
:
(
(
)
=>
(
(
)
=>
void
)
)
The function to be subscribed to.
(
)
:
(
(
)
=>
void
)
Returns
(
(
)
=>
void
)
(
)
:
void
Returns
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
react-declarative - v2.6.90
Loading...
Subscribes to a function and triggers it as a side effect.