Capítulo 504 de 988

Chapter 504: speculateFunctionName()

Core Idea

_available from v3. 3.

Key Concepts

  • Function name pattern
  • Example
  • Arguments
  • memorySizeInMb
  • diskSizeInMb
  • timeoutInSeconds
  • Return value
  • See also

Code Examples

remotion-render-3-3-63-mem2048mb-disk2048mb-240sec
                ^^^^^^    ^^^^       ^^^    ^^^
                  |         |         |      |-- Timeout in seconds
                  |         |         |--------- Disk size in MB
                  |         |------------------- Memory size in MB
                  |----------------------------- Remotion version with dots replaced by dashes
  • What it demonstrates: Usage pattern for speculateFunctionName() from the official docs.

Key Takeaways

  1. Understand function name pattern when working with speculateFunctionName().
  2. Understand example when working with speculateFunctionName().
  3. Understand arguments when working with speculateFunctionName().
  4. Understand memorysizeinmb when working with speculateFunctionName().
  5. Understand disksizeinmb when working with speculateFunctionName().

Connects To

  • api: related page in the Lambda (@remotion/lambda) section.
  • Approuterwebhook: related page in the Lambda (@remotion/lambda) section.
  • Authentication: related page in the Lambda (@remotion/lambda) section.