faast.js

faast.js

  • Docs
  • API
  • Community
  • GitHub
  • Blog

faastjs > CleanupOptions > deleteResources

CleanupOptions.deleteResources property

If true, delete provider cloud resources. Default: true.

Signature:

deleteResources?: boolean;

Remarks

The cleanup operation has two functions: stopping the faast.js runtime and deleting cloud resources that were instantiated. If deleteResources is false, then only the runtime is stopped and no cloud resources are deleted. This can be useful for debugging and examining the state of resources created by faast.js.

It is supported to call FaastModule.cleanup() twice: once with deleteResources set to false, which only stops the runtime, and then again set to true to delete resources. This can be useful for testing.

  • CleanupOptions.deleteResources property
  • Remarks
faast.js
Docs
IntroductionAPI ReferenceContributingExamples
Community
DiscordTwitterStack Overflowfaast.js
More
BlogUser Showcase
Copyright © 2026 Andy Chou