* feat: Create `Sync<T>`
* Return
* Make it return number
* feat: Add `isSync` check...
* check
* Impl
* feat: Add `JSCallback`
* perf: Store `Dispatcher` in cache if really missed
* I think it builds now
* fix memory
* fix: Use `isAsync`
* Rename
* fix: Impl `callHybridFunction` again
* fix: Avoid forward decl
* Docs
* feat: Cache `regex` in `NitroTypeInfo`
* Update NitroTypeInfo.cpp
* perf: Make `Dispatcher` a `weak_ptr`
* Some formating
* fix: Fix styling in Benchmarks
* feat: Test if callbackSync returns same number
* fix: Fix warning in `toString()`
* Update Sync.ts
* perf: Allow `std::forward<...>`
* 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
* 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