Functions 5
storage.status() → { pending: boolean, error: string? }Last persistence error and whether there are unsaved changes.
storage.flush()Yields until saved; raises an error on failure. After initialization only.
storage.get(key: string) → anyReturns the value saved under key, or nil when there is none.
storage.set(key: string, value: any)Saves a value under key in this pack's storage.json; nil forgets it.
storage.keys(prefix: string?) → { string }Every key, sorted; with a prefix, only those that start with it.