Skip to content

basalt / drives/src / DriveWatch

Interface: DriveWatch ​

Defined in: drives/src/provider.ts:274

A push subscription registered at the provider.

Properties ​

expiresAt? ​

> optional expiresAt?: number

Defined in: drives/src/provider.ts:278

When the provider will stop sending; the app renews before this. All three vendors expire subscriptions.


id ​

> id: string

Defined in: drives/src/provider.ts:276

The provider's own subscription/channel id — needed to unsubscribe.


raw? ​

> optional raw?: Record<string, unknown>

Defined in: drives/src/provider.ts:280

Vendor state the adapter needs on renewal or teardown. Persisted with the connection.

Released under the MIT License.