* 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
* feat: Use `std::shared_ptr<Promise<T>>` instead of `std::future<T>` for callbacks that return a value
* Update FunctionType.ts
* chore: Lint
* Update Dispatcher.hpp
* chore: Update Podfile.lock
* 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++
* fix: Make Nitro core compile on non-react-native environments
Guards `CallInvokerDispatcher` only if CallInvoker is available
* docs: Remove "Markdown page example" lol
* fix: Fix wrong include..?
* fix: Reimplement NitroLogger as a platform-specific logger
* fix: Copy args, and use proper tag
* fix: Fix sprintf crash because of wrong format argument
* fix: Fix Logger usage on iOS