Hacker News new | ask | show | jobs
by brrrrrm 921 days ago
as documented it looks different (async vs sync + the necessity of `text:` annotations in the Node.js version?)

updated my comment to paste in what's written in the docs

1 comments

Thanks, that helps to understand the confusion.

The web and Node.js are the same, each of them has many function overloads so users can call functions with simplified or complex arguments, as they prefer. We are going to fix the doc and code snippets so both Web and Node.js consistently show the same code to avoid misunderstandings. Thanks a lot!