Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/cli/js/web/streams/internals.ts

A modern runtime for JavaScript and TypeScript.
Go to Latest
import * as deno from "https://deno.land/x/deno@v1.0.0/cli/js/web/streams/internals.ts";

Functions

Non-spec mechanism to "unwrap" a promise and store it to be resolved later.

An internal function which provides a function name for some generated functions, so stack traces are a bit more readable.

An internal function which mimics the behavior of setting the promise to handled in JavaScript. In this situation, an assertion failure, which shouldn't happen will get thrown, instead of swallowed.