diff options
author | Aapo Alasuutari <aapo.alasuutari@gmail.com> | 2022-06-20 14:06:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-20 16:36:04 +0530 |
commit | 3d6fa64f19e74924813ece5e5fbd53023342bac8 (patch) | |
tree | 9786948872549be0a6e44ab769c04a3d474a7774 /ext/crypto/shared.rs | |
parent | 60869c2598321386f57e55537e8c99ed011fbb95 (diff) |
feat(ext/ffi): Callbacks (#14663)
This commit adds support for unstable FFI
callbacks. A callback is registered using
the `Deno.UnsafeCallback` API.
The backing memory for the callback can
be disposed of using `Deno.UnsafeCallback#close`.
It is not safe to pass the callback after calling
close.
Callbacks from other than the isolate thread
are not supported.
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
Co-authored-by: Bert Belder <bertbelder@gmail.com>
Diffstat (limited to 'ext/crypto/shared.rs')
0 files changed, 0 insertions, 0 deletions