faast.js

faast.js

  • Docs
  • API
  • Community
  • GitHub
  • Blog

faastjs > CleanupOptions > gcTimeout

CleanupOptions.gcTimeout property

Number of seconds to wait for garbage collection. Default: 10.

Signature:

gcTimeout?: number;

Remarks

Garbage collection can still be operating when cleanup is called; this option limits the amount of time faast waits for the garbage collector. If set to 0, the wait is unlimited.

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