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