A small loader prepares state for the window indicator by flight code. After a recent PR, the behavior became unstable under fast consecutive requests and when reusing an already obtained result.
loadWindowIndicator accepts:
flightCode: stringsource: WindowSourcePromise<WindowIndicatorState>.source.src/windowIndicator.ts and compare the current behavior with the type contract.loadWindowIndicator calls with different flight codes.alerts array in the previously returned result;current must correspond only to the latest relevant request.current.alerts array in the object returned by the function must not change the data stored inside the module.5.822ES modulesstrict=truetsc --noEmitsrc/ directorysource returns data in the order and with the delays specified by the test scenarioUse line comments to explain the problem, its impact, the fix and how to test it.