Ambraven :verifinking:<p>I'm yet again defeated by iced-rs and threads management... </p><p>What I want to do is let the application run a js script (for reasons) that can send tcp request to a device (again, for reasons). And I have this working. It's a bit of a mess but it works.</p><p>Only now I want to be able to stop the script (without alt-F4 the whole application) because the script can take some time to execute and it's annoying when there is an error in the script.</p><p>Only rustyscript doesn't have a mechanism for that, so right now I'm resorting to make a subscriber for the js execution. Which is a pain, but I think I more or less got it...</p><p>Except...</p><p><a href="https://social.mochi.academy/tags/rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rust</span></a> <a href="https://social.mochi.academy/tags/iced_rs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iced_rs</span></a> <a href="https://social.mochi.academy/tags/rustyscript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustyscript</span></a> <a href="https://social.mochi.academy/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a></p>