- Add Strike API credentials configuration - Implement Strike node with 9 resources (Account, Balance, Currency Exchange, Deposit, Invoice, Payment, Payment Method, Payout, Rates) - Add comprehensive operation descriptions for all resources - Include CLAUDE.MD documentation - Set up build configuration with TypeScript, ESLint, and Prettier 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
14 lines
409 B
Markdown
14 lines
409 B
Markdown
# `Promise.limit` _(ext/promise/limit)_
|
|
|
|
Helps to limit concurrency of asynchronous operations.
|
|
|
|
```javascript
|
|
const limit = require("ext/promise/limit").bind(Promise);
|
|
|
|
const limittedAsyncFunction = limit(2, asyncFunction);
|
|
|
|
imittedAsyncFunction(); // Async operation started
|
|
imittedAsyncFunction(); // Async operation started
|
|
imittedAsyncFunction(); // On hold until one of previously started finalizes
|
|
```
|