UNPKG

ram64

Version:

Multi-threaded 64bit memory cache database inspired by redis-like features

7 lines (5 loc) 216 B
import { CommandFn, CommandOptions } from '../../commands'; import { Shards } from '../shards'; export const fn: CommandFn = (opts: CommandOptions): void => { Shards.forEach(shard => shard.map.clear()); }