diff options
author | Matt Mastracci <matthew@mastracci.com> | 2023-12-11 10:52:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-11 10:52:55 -0700 |
commit | d13e45f2b3e50b85953c31d9c16e35d0cd87545f (patch) | |
tree | 1b206fa8dafc4ee23cebfd586a58a192b3557d66 /ext/ffi/callback.rs | |
parent | a272bc1bd0793b2f522e4e611963231dc344531f (diff) |
perf(ext/napi): port NAPI to v8 tasks (#21406)
Part 2 of removing middleware.
This is somewhat awkward because `V8CrossThreadTaskSpawner` requires
tasks to be `Send`, but NAPI makes heavy use of `!Send` pointers. In
addition, Rust causes a closure to be `!Send` if you pull a `!Send`
value out of a struct.
---------
Signed-off-by: Matt Mastracci <matthew@mastracci.com>
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
Diffstat (limited to 'ext/ffi/callback.rs')
0 files changed, 0 insertions, 0 deletions