async function refreshConnectionTestResults( action, store ) {
	const { dispatch } = store;

	try {
		const results = await apiFetch( { path: '/wpcom/v2/publicize/connection-test-results' } );
		return dispatch( setConnectionTestResults( results ) );
	} catch ( error ) {
		// Refreshing connections failed
	}
}
/**
 * Effect handler which will refresh the connection test results.
 *
 * @param {Object} action Action which had initiated the effect handler.
 * @param {Object} store  Store instance.
 *
 * @return {Object} Refresh connection test results action.
 */
Effect handler which will refresh the connection test results.
@param {Object} action Action which had initiated the effect handler.
@param {Object} store  Store instance.

@return {Object} Refresh connection test results action.
Effect handler which will refresh the connection test results . @param { Object } action Action which had initiated the effect handler . @param { Object } store Store instance . @return { Object } Refresh connection test results action .
async function refreshConnectionTestResults( action, store ) {
	const { dispatch } = store;
	try {
		const results = await apiFetch( { path: '/wpcom/v2/publicize/connection-test-results' } );
		return dispatch( setConnectionTestResults( results ) );
	} catch ( error ) {
	}
}
async function refreshConnectionTestResults ( action , store ) { const { dispatch } = store ; try { const results = await apiFetch ( { path : '/wpcom/v2/publicize/connection-test-results' } ) ; return dispatch ( setConnectionTestResults ( results ) ) ; } catch ( error ) { } }
Effect handler which will refresh the connection test results.
Effect handler which will refresh the connection test results .
// Refreshing connections failed