> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class: ObservationPoll

> Reference for the ObservationPoll class in bijection/browser.

[browser](https://docs.bijection.com/api/modules/browser).ObservationPoll

Hosts the verified observe.poll program for one polling loop: report
each observation or failure and wait the returned delay. The program slows
polling once an observation stops changing and retries a temporary failure
on the graph's retry schedule, never sooner than the server's Retry-After.

## Constructors

### constructor

• **new ObservationPoll**()

## Methods

### observed

▸ **observed**(`version`, `now?`): `number`

An unsettled observation of `version`; returns the delay before the next poll.

#### Parameters

| Name | Type |
| :- | :- |
| `version` | `string` |
| `now` | `number` |

#### Returns

`number`

***

### failed

▸ **failed**(`error`): `number`

A failed poll; returns the delay before the next one, or throws the
error when the transport does not call it temporary.

#### Parameters

| Name | Type |
| :- | :- |
| `error` | `unknown` |

#### Returns

`number`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.