Open chalkers opened 8 years ago
@craigsdennis Once we've ripped out the promises this is possible :)
Hey @craigsdennis can we cancel with rom-comm now?
Indeed! Let's talk about what that API should look like, but it is definitely possible to deliver a poison pill. State will be whackadoo though.
If you select the wrong port, we need to abort.
Either...RomComm could automatically do it. It needs to know it's talking to the wrong thing and throws an error for the Promise can handle it...other wise Promises aren't cancelable :(
Also given the end user the ability to cancel mid process would be ideal.