Skip to content

API / wxt/utils/storage / WatchCallback

Type Alias: WatchCallback<T> ​

WatchCallback<T> = (newValue, oldValue) => void

Source: packages/storage/dist/index.d.mts:248

Callback called when a value in storage is changed.

Type Parameters ​

T ​

T

Parameters ​

newValue ​

T

oldValue ​

T

Returns ​

void


Generated using typedoc-plugin-markdown and TypeDoc