MikM
Denoβ€’12mo agoβ€’
4 replies
Mik

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
In-depth documentation, guides, and reference materials for building secure, high-performance JavaScript and TypeScript applications with Deno
Deno.connect - Deno documentation
Deno
In-depth documentation, guides, and reference materials for building secure, high-performance JavaScript and TypeScript applications with Deno
setTimeout - Platform - Web documentation
Was this page helpful?