David Garcia
Sep 5, 2023

--

The second console log should be inside the callback function. Otherwise, you will log the end of the reading before it finishes.

--

--

David Garcia
David Garcia

Written by David Garcia

Senior Software Engineer, Backend, NodeJS & Symfony developer, workaholic, passionate for new technologies and OSS contributor. https://linktr.ee/davidgarciacat

No responses yet