resolveAutocloseConfig
@rotorsoft/act-root / act/src / resolveAutocloseConfig
Function: resolveAutocloseConfig()
resolveAutocloseConfig(
options):object
Defined in: libs/act/src/internal/autoclose-config.ts:149
Validate and apply defaults for the autoclose knobs on
ActOptions. Called from act().build(). Out-of-range
values throw ZodError at startup, not on the first cycle tick.
Parametersโ
optionsโ
ActOptions | undefined
Returnsโ
object
autocloseCycleMinutesโ
autocloseCycleMinutes:
number
autocloseWindow?โ
optionalautocloseWindow?:object
autocloseWindow.endโ
end:
number
autocloseWindow.startโ
start:
number
autocloseWindow.timeZoneโ
timeZone:
string
closeBatchSizeโ
closeBatchSize:
number
closeOnErrorโ
closeOnError:
boolean
closeYieldMsโ
closeYieldMs:
number