mirror of
https://github.com/zoriya/nitro.git
synced 2026-10-13 00:05:23 +00:00
* fix: Reject Promise with timeout if it gets destroyed If a Promise gets destroyed without ever being resolved or rejected, it goes stale. This PR fixes this and rejects a Promise with a timeout error if it gets destructed and is still pending * Add promise typename * Reject swift promise as well * Update Promise.hpp * fix: Build * Update Dispatcher.cpp * fix: Also reject `JPromise` if it gets destroyed