This adds a check suggested in the connected issue, where current time is checked at each function call and compared to time of the first function call. If it exceeds a set value (default is 5000ms) it throws an error, allowing to break traverse() and possibly fixing a situation where browser hangs.
Part of: https://github.com/stoplightio/platform-internal/issues/8075
This adds a check suggested in the connected issue, where current time is checked at each function call and compared to time of the first function call. If it exceeds a set value (default is 5000ms) it throws an error, allowing to break
traverse()
and possibly fixing a situation where browser hangs.