diff options
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 a7f4f2ef0..73f4bfcb2 100644 --- a/cli/dts/lib.deno.unstable.d.ts +++ b/cli/dts/lib.deno.unstable.d.ts @@ -123,6 +123,8 @@ declare namespace Deno { export interface ForeignFunction { parameters: (NativeType | "buffer")[]; result: NativeType; + /** When true, function calls will run on a dedicated blocking thread and will return a Promise resolving to the `result`. */ + nonblocking?: boolean; } /** A dynamic library resource */ |