This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { css } from 'emotion' | |
export const root = css`` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { getPollingRegistration } from '../selectors/ui' | |
import { registerPolling, unregisterPolling } from '../modules/ui' | |
import { DEFAULT_POLLING_TIMEOUT } from '../../constants/ui/polling' | |
/** | |
* Creates a polling bucket and registers it to the redux store. | |
* Buckets should have a unique name, otherwise the polling request is ignored. | |
* | |
* @param {string} name - Polling name. It is allowed to only have 1 unique polling at a time. | |
* @param {object} options |