DEV Community

Karthikeyan A.
Karthikeyan A.

Posted on

1 1

Resolve a Promise from outside, after return

Have you ever been at a situation where you wanted to resolve a Promise you returned from outside, when needed?

If so, this may help you. It's actually pretty simple and straight forward as shown below, but many of us wouldn't have thought of this.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay