UNPKG

@data-client/core

Version:

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

12 lines (10 loc) 269 B
import { INVALIDATEALL } from '../../actionTypes.js'; import type { InvalidateAllAction } from '../../types.js'; export function createInvalidateAll( testKey: (key: string) => boolean, ): InvalidateAllAction { return { type: INVALIDATEALL, testKey, }; }