mirror of https://github.com/AMT-Cheif/drift.git
Added some documentation and fixes code format
This commit is contained in:
parent
e0c3f4b647
commit
c59b96c9bf
|
@ -36,6 +36,10 @@ abstract class MoorWebStorage {
|
||||||
/// applications that never used the local storage implementation as a small
|
/// applications that never used the local storage implementation as a small
|
||||||
/// performance improvement.
|
/// performance improvement.
|
||||||
///
|
///
|
||||||
|
/// When the [inWebWorker] parameter (defaults to false) is set,
|
||||||
|
/// the implementation will use [WorkerGlobalScope] instead of [window] as
|
||||||
|
/// it isn't accessible from the worker.
|
||||||
|
///
|
||||||
/// However, older browsers might not support IndexedDB.
|
/// However, older browsers might not support IndexedDB.
|
||||||
@experimental
|
@experimental
|
||||||
factory MoorWebStorage.indexedDb(String name,
|
factory MoorWebStorage.indexedDb(String name,
|
||||||
|
|
Loading…
Reference in New Issue