Mik
Mik4w ago

Why everything is marked as deprecated in API documentration ? And what are the altenratives ?

I would like to make a TCP connection with Deno with a timeout but everything I found is marked as deprecated: https://docs.deno.com/api/deno/~/Deno.connect https://docs.deno.com/api/web/~/setTimeout So what is the proper way to do that ?
Deno
Deno.connect - Deno documentation
In-depth documentation, guides, and reference materials for building secure, high-performance JavaScript and TypeScript applications with Deno
Deno
setTimeout - Platform - Web documentation
In-depth documentation, guides, and reference materials for building secure, high-performance JavaScript and TypeScript applications with Deno
4 Replies
crowlKats
crowlKats4w ago
thats a bug, good catch, we landed a major refactor earlier and seems something got past us
Mik
MikOP4w ago
ah cool I was afraid and a bit confused. Thanks for the clarification.
crowlKats
crowlKats4w ago
@Mik a fix landed for this, should be able to see it changed on the website in a couple of minutes
Mik
MikOP4w ago
I confirm the mention has disappeared . Thank you @crowlKats

Did you find this page helpful?