Similar to how interrupts work, if a user presses another key while the script is processing an image (taking a screenshot for example), the current image should be dropped and a new one should be evaluated. An alternative to this would be to queue keypresses such that if multiple keypresses happen within a single frametime, we can queue the actions to be performed based off of one screenshot.
The goal is to amortize the time it takes for a screenshot and might enable unique workflows, like changing a signal aspect to Danger and immediately entering the camera mode after the signal is set.
Similar to how interrupts work, if a user presses another key while the script is processing an image (taking a screenshot for example), the current image should be dropped and a new one should be evaluated. An alternative to this would be to queue keypresses such that if multiple keypresses happen within a single frametime, we can queue the actions to be performed based off of one screenshot.
The goal is to amortize the time it takes for a screenshot and might enable unique workflows, like changing a signal aspect to Danger and immediately entering the camera mode after the signal is set.