[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/admin](../../README) / [index](../README) / widgetPollInterval

# Function: widgetPollInterval()

> **widgetPollInterval**(`widgets`): `string` \| `undefined`

Defined in: [admin/src/widgets/Widget.ts:230](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/admin/src/widgets/Widget.ts#L230)

The shortest poll interval among these widgets, or `undefined` when none
polls. The dashboard polls as one unit, so the keenest widget sets the pace.

## Parameters

### widgets

[`DashboardWidget`](../type-aliases/DashboardWidget)[]

## Returns

`string` \| `undefined`
