useReconnect
View as Markdownfunction useReconnect(): (opts?) => void;Defined in: react/src/hooks.ts:614
Returns a function that restarts the event stream now (wire it to AppState ‘active’ in React
Native). A healthy live stream is kept (see UncageClient.reconnect); { force: true } restarts
it anyway.
Returns
Section titled “Returns”(opts?) => void