import { setPromiseIsHandledToTrue } from "https://deno.land/x/deno@v1.0.0/cli/js/web/streams/internals.ts";
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.