From 132c761e87679aec52b9ed8324ee2a4b00705620 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Sat, 9 Jul 2022 18:41:07 +0530 Subject: fix(ext/ffi): allow opting out of fast ffi calls (#15131) --- cli/dts/lib.deno.unstable.d.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli/dts/lib.deno.unstable.d.ts') 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 { -- cgit v1.2.3