import { Store } from "https://deno.land/x/fastro@v0.94.1/core/map/mod.ts";
Constructors
new
Store(options?: StoreOptions)Properties
private
commiting: (options?: StoreOptions) => unknownprivate
options: StoreOptionsMethods
private
cleanUpExpiredEntries(): voidprivate
joinMaps<K extends string | number | symbol, V>()private
saveToGitHub(options: StoreOptions)private
syncMap()clear(): void
destroy()
Delete file from repository
entries()
Executes a provided function once per each key/value pair in the Map, in insertion order.
Returns a specified element from the Map object. If the value that is associated to the provided key is an object, then you will get a reference to that object and any change made to that object will effectively modify it inside the Map.
keys()
Adds a new element with a specified key and value to the Map. If an element with the same key already exists, the element will be updated.
size(): number
sync(interval?: number)
Save the map to the repository periodically at intervals
values()