I am trying to implement a feature to interrupt the file transformation whenever it receives an interrupt message/event. The current solution I am thinking of is to spawn a process that runs the Saxon command line and kill the process whenever required. But I am looking for another solution that uses Saxon-JS instead of the command line.
A similar discussion can be found at: https://saxonica.plan.io/boards/3/topics/731