MCPcopy
hub / github.com/localForage/localForage / setDriver

Method setDriver

typings/localforage.d.ts:103–103  ·  view source on GitHub ↗

* Force usage of a particular driver or drivers, if available. * @param {string} driver

(driver: string | string[], callback?: () => void, errorCallback?: (error: any) => void)

Source from the content-addressed store, hash-verified

101 * @param {string} driver
102 */
103 setDriver(driver: string | string[], callback?: () => void, errorCallback?: (error: any) => void): Promise<void>;
104
105 defineDriver(driver: LocalForageDriver, callback?: () => void, errorCallback?: (error: any) => void): Promise<void>;
106

Callers 14

test.config.jsFile · 0.65
test.drivers.jsFile · 0.65
test.api.jsFile · 0.65
test.nodriver.jsFile · 0.65
test.datatypes.jsFile · 0.65
rerequirelocalforageFunction · 0.65
test.webworkers.jsFile · 0.65

Implementers 1

LocalForagesrc/localforage.js

Calls

no outgoing calls

Tested by

no test coverage detected