We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node:zlib
Version: Deno 2.1.6
import { promisify } from 'node:util'; import { brotliCompress, brotliDecompress } from 'node:zlib'; async function main() { const d = '{}'; const compressedData = await promisify(brotliCompress)(d); const data = await promisify(brotliDecompress)(compressedData); return JSON.parse(data.toString('utf-8')); } await main();
This errors with:
error: Top-level await promise never resolved await main(); ^ at <anonymous> (file:///main.ts:11:1)
Running the code in the repl shows that it hangs in brotliDecompress.
brotliDecompress
The text was updated successfully, but these errors were encountered:
a2d0872
Successfully merging a pull request may close this issue.
Version: Deno 2.1.6
This errors with:
Running the code in the repl shows that it hangs in
brotliDecompress
.The text was updated successfully, but these errors were encountered: