Poller

See also, limitations of getAccessor

Fetches an accessor at a set interval from the network.

Example

Fetch query.me.name every one second:

import { Poller } from 'gqless'
const poller = new Poller(query.me.name, 1000)
// Start the poller
poller.toggle(true)
Last updated on by Sam Denty