AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Using Boart Signals in Concurrent Programming
The first version of promises did not have a boart signals built in. The way they end up working looks a lot like manually returning error codes. But you kind of have to know about them and then fix them, or else you're going to have problems with your promised code. Aboart signals are basically like a duel of an ception. And so where this would be useful as if you had like, a long running promise or some other task that needs to be cancelled. So the abort controller, you can fire a signal that cancels the abort signal that is associated to that abort controller.