Ptimeout
Bun

property

vm.RunningCodeOptions.timeout

timeout?: number

Specifies the number of milliseconds to execute code before terminating execution. If execution is terminated, an Error will be thrown. This value must be a strictly positive integer.