async cancel() {
        logger_js_1.logger.error("`cancelOperation` is deprecated because it wasn't implemented");
        return this;
    }
When a poller is manually stopped through the `stopPolling` method,
the poller will be rejected with an instance of the PollerStoppedError.