Logical lease key within this job name.
OptionalkeyPrefix used to build the concrete lock key.
Defaults to "jobs:lease".
Locks port or resolver used to acquire the execution lease.
OptionalmetadataOptional diagnostics metadata attached to the lease acquire call.
OptionalonBehavior when the lease cannot be acquired.
Defaults to "skip" so overlapping executions do not create retry storms.
OptionalretryDelay between acquisition attempts while waiting.
Lease time-to-live. This is the real safety boundary in serverless runtimes
where an invocation may terminate before finally runs.
OptionalwaitHow long to wait for an existing lease before applying onUnavailable.
Defaults to no wait.
Options for
createJobExecutionLeaseHook(...).