
Security News
CISA Kills Off RSS Feeds for KEVs and Cyber Alerts
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
@cloudflare/util-http-poll
Advanced tools
Cloudflare HTTP Polling Util
$ yarn add @cloudflare/util-http-poll
import { Poller } from '@cloudflare/util-http-poll';
const pollingFn = () => {
/* do something fancy */
};
/*
The following options can be configured:
backoffs {Number} - The number of times to backoff and retry
after exceeding timeout before quitting
pollInterval {Number} - The frequency at which to poll
pollTimeout {Number} - The time after which we stop polling and decide what to do next
backoffFn: {Function} - Used to decrease the pollInterval frequency
onError: {Function} - Called when an error is thrown in pollingFn
haltOnError: {Boolean} - Should stop polling if an error is encountered
*/
const options = { pollTimeout: 30 * 1000 };
const poller = new Poller(pollingFn, options);
poller.startPolling();
// When you're done or unmounting:
poller.destroy();
FAQs
Cloudflare HTTP Polling Utilities
We found that @cloudflare/util-http-poll demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 30 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.