An Illustrated Journey Into Promised land
Tharun Mathew Paul
143

How to end promise in between? I handle it using single exception that is catch. But you can have

promise.then(..).catch(..).then(..).catch(..).then(..).catch(..)

How to break a promise chain, in that condition?

Like what you read? Give Suryakant a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.