UNPKG

@data-client/core

Version:

Async State Management without the Management. REST, GraphQL, SSE, Websockets, Fetch

12 lines (10 loc) 249 B
import { EXPIREALL } from '../../actionTypes.js'; import type { ExpireAllAction } from '../../types.js'; export function createExpireAll( testKey: (key: string) => boolean, ): ExpireAllAction { return { type: EXPIREALL, testKey, }; }