Sha256: 798bee5173dca5aef2292ef2b9bed9a24b036bd111f181b77d7192137931b2cd

Contents?: true

Size: 376 Bytes

Versions: 88

Compression:

Stored size: 376 Bytes

Contents

import { selectDoesIntervalExist } from 'foremanReact/redux/middlewares/IntervalMiddleware/IntervalSelectors';
import { bulkSearchKey, pollTaskKey } from './helpers';

export const selectIsPollingTask = (state, key) => selectDoesIntervalExist(state, pollTaskKey(key));

export const selectIsPollingTasks = (state, key) =>
  selectDoesIntervalExist(state, bulkSearchKey(key));

Version data entries

88 entries across 88 versions & 1 rubygems

Version Path
katello-3.16.0.rc2 webpack/scenes/Tasks/TaskSelectors.js
katello-3.15.1.1 webpack/scenes/Tasks/TaskSelectors.js
katello-3.16.0.rc1.1 webpack/scenes/Tasks/TaskSelectors.js
katello-3.15.1 webpack/scenes/Tasks/TaskSelectors.js
katello-3.16.0.rc1 webpack/scenes/Tasks/TaskSelectors.js
katello-3.15.0.1 webpack/scenes/Tasks/TaskSelectors.js
katello-3.15.0 webpack/scenes/Tasks/TaskSelectors.js
katello-3.15.0.rc2 webpack/scenes/Tasks/TaskSelectors.js