TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Looking for a node.js throttled queue library

1 点作者 superted将近 14 年前
Hi,<p>I was wondering if any of the Node.js masterminds out there could help me locate, if such exists, a library that basically lets me put functions in a queue, which is configured to only execute a function at a given interval. The context is that I would like to throttle API requests towards external servers, something that I think should be a rather commonly requested feature.

1 comment

superted将近 14 年前
Update: I ended up creating this handy function:<p><a href="https://gist.github.com/1127863" rel="nofollow">https://gist.github.com/1127863</a>