콘텐츠로 이동

removeDataStore

이 콘텐츠는 아직 번역되지 않았습니다.

Module @netwiv/api/app · Kind Function

import { removeDataStore } from '@netwiv/api/app';

Removes the data store with the given identifier.

Note that any webview using this data store should be closed before running this API.

See https://developer.apple.com/documentation/webkit/wkwebsitedatastore for more information.

function removeDataStore(uuid: DataStoreIdentifier): Promise<void>
import { fetchDataStoreIdentifiers, removeDataStore } from '@netwiv/api/app';
for (const id of (await fetchDataStoreIdentifiers())) {
await removeDataStore(id);
}

Upstream since 2.4.0


Descriptions come from the pinned @tauri-apps/api@2.11.1 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.