Module freeze

Module freeze 

Source
Expand description

Process freezing simulation for Lambda’s freeze/thaw behaviour.

This module provides the ability to simulate AWS Lambda’s process freezing behaviour, where the entire execution environment (runtime and all extensions) is stopped (SIGSTOP) when waiting for work and resumed (SIGCONT) when an invocation arrives.

In real AWS Lambda, the entire sandbox is frozen between invocations. This includes the runtime process and all extension processes. This module supports freezing multiple PIDs to accurately simulate this behaviour.

Structs§

FreezeState
State for managing process freezing.

Enums§

FreezeError
Errors that can occur during freeze operations.
FreezeMode
Controls whether process freezing is enabled.