PluginProbe
Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution / 1.9.0
Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution v1.9.0
2.0.1 trunk 1.0.0 1.1.0 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 1.4.2 1.5.0 1.6.0 1.6.1 1.7.0 1.7.1 1.8.0 1.9.0 2.0.0
solid-performance / src / Performance / Admin / package / preload / store / resolvers.js

resolvers.js in Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution 1.9.0, at src/Performance/Admin/package/preload/store/resolvers.js

15 lines 424 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Internal dependencies
3 */
4 import { refreshPreloadStatus } from './actions';
5
6 /**
7 * Resolver function to fetch and update the preload status.
8 * Logs the action and dispatches the `refreshPreloadStatus` action.
9 *
10 * @returns {Function} A thunk action that dispatches the `refreshPreloadStatus` action.
11 */
12 export const getPreloadStatus = () => async ( { dispatch } ) => {
13 await dispatch(refreshPreloadStatus());
14 };
15