UNPKG

@wordpress/data

Version:
15 lines 724 B
export default createResolversCacheMiddleware; export type WPDataRegistry = import('./registry').WPDataRegistry; /** @typedef {import('./registry').WPDataRegistry} WPDataRegistry */ /** * Creates a middleware handling resolvers cache invalidation. * * @param {WPDataRegistry} registry The registry reference for which to create * the middleware. * @param {string} reducerKey The namespace for which to create the * middleware. * * @return {Function} Middleware function. */ declare function createResolversCacheMiddleware(registry: WPDataRegistry, reducerKey: string): Function; //# sourceMappingURL=resolvers-cache-middleware.d.ts.map