Skip to main content

Enable cancellation

Allows a Lambda render to be cancelled by pressing Ctrl+C while running npx remotion lambda render. Enabling cancellation causes each renderer function to poll S3 once per second while it is running.

CLI flag​

--enable-cancellation

The following CLI commands accept this option:

Config file​

remotion.config.ts
Config.setEnableCancellation(true);

See also​