When using the useAgent
hook in react it would be useful to be able to provide a enabled?: boolean
parameter as part of the agent options (much like React Query does) where the websocket connection is only started once the enabled parameter returns true.