MCPcopy Create free account
hub / github.com/adonisjs/session / clear

Method clear

src/values_store.ts:273–275  ·  view source on GitHub ↗

* Resets store by clearing all values * * @example * store.clear() // Removes all data from store

()

Source from the content-addressed store, hash-verified

271 * store.clear() // Removes all data from store
272 */
273 clear(): void {
274 this.update({})
275 }
276}

Callers

nothing calls this directly

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected