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
thats a bug, good catch, we landed a major refactor earlier and seems something got past us
ah cool I was afraid and a bit confused. Thanks for the clarification.
@Mik a fix landed for this, should be able to see it changed on the website in a couple of minutes
I confirm the mention has disappeared . Thank you @crowlKats