spot-client/src/spot-tv/calendars/calendarService.js
/**
     * Begin fetching and automatically re-fetching calendar events.
     *
     * @param {Object} options - Options required for fetch the calendar events.
     * See {@code getCalendar} for details.
     * @returns {void}
     */
Begin fetching and automatically re-fetching calendar events.
@param {Object} options - Options required for fetch the calendar events.
See  getCalendar for details.
@returns {void}
Begin fetching and automatically re - fetching calendar events . @param { Object } options - Options required for fetch the calendar events . See getCalendar for details . @returns { void }
startPollingForEvents(options) {
        if (this._updateEventsTimeout && this._pollingOptionsAreEqual(options)) {
            return;
        }
        this._currentCalendarPollingOptions = { ...options };
        this.stopPollingForEvents();
        this._pollForEvents(this._currentCalendarPollingOptions);
    }
startPollingForEvents ( options ) { if ( this . _updateEventsTimeout && this . _pollingOptionsAreEqual ( options ) ) { return ; } this . _currentCalendarPollingOptions = { ... options } ; this . stopPollingForEvents ( ) ; this . _pollForEvents ( this . _currentCalendarPollingOptions ) ; }
Begin fetching and automatically re-fetching calendar events.
Begin fetching and automatically re - fetching calendar events .
// No-op if already polling with the provided options.