/* eslint-disable import/prefer-default-export */ export const executeThunk = async (thunk, dispatch, getState) => { await thunk(dispatch, getState); await new Promise(setImmediate); };