Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Hook to monitor the current WebSocket connection status.
import { useWsStatus } from "@orderly.network/hooks"; const status = useWsStatus(); useEffect(() => { if (status === WsNetworkStatus.Connected) { // do something } }, [status]);