diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-07-09 18:41:07 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-09 18:41:07 +0530 |
commit | 132c761e87679aec52b9ed8324ee2a4b00705620 (patch) | |
tree | 19c83a4e474c1e860bdee5e77d12395e1307f402 /cli/dts/lib.deno.unstable.d.ts | |
parent | 3da182b0b86d93000d4473188f361ffa2de9fb73 (diff) |
fix(ext/ffi): allow opting out of fast ffi calls (#15131)
Diffstat (limited to 'cli/dts/lib.deno.unstable.d.ts')
-rw-r--r-- | cli/dts/lib.deno.unstable.d.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts index d82e07be0..2b4e1015a 100644 --- a/cli/dts/lib.deno.unstable.d.ts +++ b/cli/dts/lib.deno.unstable.d.ts @@ -430,6 +430,8 @@ declare namespace Deno { result: Result; /** When true, function calls will run on a dedicated blocking thread and will return a Promise resolving to the `result`. */ nonblocking?: NonBlocking; + /** When true, function calls can safely callback into JS or trigger a GC event. Default is `false`. */ + callback?: boolean; } export interface ForeignStatic<Type extends NativeType = NativeType> { |