mrousavy / nitro

🔥 Insanely fast native C++, Swift or Kotlin modules with a statically compiled binding layer to JSI
https://nitro.margelo.com
MIT License
642 stars 22 forks source link

feat: Rewrite `Promise` implementation #343

Closed mrousavy closed 3 days ago

mrousavy commented 3 days ago

Rewrites the Promise design and implementation to be more solid and use Promise.hpp instead of std::future.

Should improve performance because we now no longer need a waiter thread.

vercel[bot] commented 3 days ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **nitro-docs** | ⬜️ Skipped ([Inspect](https://vercel.com/margelo/nitro-docs/BJwAZKNGtmPXftaoi7KWxDX4dNBF)) | | | Nov 18, 2024 10:03pm |