diff options
Diffstat (limited to 'core/lib.deno_core.d.ts')
-rw-r--r-- | core/lib.deno_core.d.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/lib.deno_core.d.ts b/core/lib.deno_core.d.ts index 7f3ea2a19..fc7865829 100644 --- a/core/lib.deno_core.d.ts +++ b/core/lib.deno_core.d.ts @@ -23,11 +23,17 @@ declare namespace Deno { /** * List of all registered ops, in the form of a map that maps op - * name to internal numerical op id. + * name to function. */ const ops: Record<string, (...args: unknown[]) => any>; /** + * List of all registered async ops, in the form of a map that maps op + * name to function. + */ + const asyncOps: Record<string, (...args: unknown[]) => any>; + + /** * Retrieve a list of all open resources, in the form of a map that maps * resource id to the resource name. */ |