Commit Graph
7 Commits
Author SHA1 Message Date
Marc RousavyandGitHub ab2a05085f fix: Some code cleanups (atomic<bool>, move assignment, const) (#1269)
* fix: Make more stuff `const`

* fix: Add move assignment operator for `WeakReference`

* fix: Use `atomic<bool>` for `ReferenceState`
2026-03-18 12:09:26 +01:00
Marc RousavyandGitHub 1a61db1e0b chore: Move Promise<void> implementation to .cpp (#982)
* chore: Move `Promise<void>` implementation to .cpp

* tidy up

* Update Promise.hpp

* fix: Specify `<void>` template

* fix: Avoid inline
2025-10-24 10:31:49 +02:00
Marc RousavyandGitHub 8832bc5225 feat: Add new Promise<T> implementation for C++ (#343)
* feat: Create `Promise.hpp`

* feat: Add `JSIConverter+Exception`

* feat: Base for `Promise` and `Exception`

* fix: Implement Exception conversion

* Implement `Promise::awaitFuture`

* Revive `+Future`

* fix: Speed up creating `ThreadPool`

* fix: Make `+Future` also just use `+Promise` impl

* fix: Thread pool has 10 threads now.

* feat: Allow `ThreadPool` to grow dynamically

* chore: Format C++
2024-11-19 00:01:46 +01:00
Marc Rousavy 2bc02c0f6f A ton of improvements around jsi::Runtime safe code. 2024-06-20 16:20:13 +02:00
Marc Rousavy 84b995e4eb Rename to .hpp 2024-06-20 10:41:09 +02:00
Marc Rousavy 0da06a7efb perf: Use get (assert) instead of as for faster perf! 2024-06-19 20:01:35 +02:00
Marc Rousavy ee1b3bd2cb Add core HybridObject infra 2024-06-19 19:57:47 +02:00