Workaround for denoland/deno#13142
Repository
Current version released
2 years ago
Dependencies
deno.land/x
Versions
issue_13142_text_decoder_stream
This Deno module provides Issue13142TextDecoderStream
, a workaround for
denoland/deno#13142 (the TextDecoderStream
leaks a native resource handle if
it aborts instead of closing normally).
Usage
import {
Issue13142TextDecoderStream,
} from "https://deno.land/x/issue_13142_text_decoder_stream@1.0.0/mod.ts";
Use Issue13142TextDecoderStream
just like TextDecoderStream
. See
./mod_test.ts for examples.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.