We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7fe5f2 commit 54fb52fCopy full SHA for 54fb52f
x-pack/plugins/uptime/public/state/effects/index_status.ts
@@ -4,13 +4,13 @@
4
* you may not use this file except in compliance with the Elastic License.
5
*/
6
7
-import { takeLatest } from 'redux-saga/effects';
+import { takeLeading } from 'redux-saga/effects';
8
import { indexStatusAction } from '../actions';
9
import { fetchIndexStatus } from '../api';
10
import { fetchEffectFactory } from './fetch_effect';
11
12
export function* fetchIndexStatusEffect() {
13
- yield takeLatest(
+ yield takeLeading(
14
indexStatusAction.get,
15
fetchEffectFactory(fetchIndexStatus, indexStatusAction.success, indexStatusAction.fail)
16
);
0 commit comments