How to use the realtime feature with LiveQuery

Hi,
How can I use the realtime feature using LiveQuery I used useQuery but it doesn’t seem to work.