faast.js

faast.js

  • Docs
  • API
  • Community
  • GitHub
  • Blog

faastjs > CommonOptions > concurrency

CommonOptions.concurrency property

The maximum number of concurrent invocations to allow. Default: 100, except for the local provider, where the default is 10.

Signature:

concurrency?: number;

Remarks

The concurrency limit applies to all invocations of all of the faast functions summed together. It is not a per-function limit. To apply a per-function limit, use throttle(). A value of 0 is equivalent to Infinity. A value of 1 ensures mutually exclusive invocations.

  • CommonOptions.concurrency property
  • Remarks
faast.js
Docs
IntroductionAPI ReferenceContributingExamples
Community
DiscordTwitterStack Overflow
More
BlogUser Showcase
Copyright © 2025 Andy Chou