Not able to read data from

I have a simple piece of code that uses the .stream() method of a query result cursor and tries to iterate over it. But it seems to hang on the .read() method. The other alternative of using stream.on(“data”, someFunc) seems to work. However ideally I would like to use the .read() approach as it works well when plugging into other Streams.

     const stream = collection.find().limit(20).stream()

     const doc = await // <-- Code seems to hang here
     if (doc == null) {
     // This works.
     // stream.on('data', function(data: any) {
     //     console.log(data._id)
     // })

Even in the NodeJS driver docs the .read() part is not explicitly mentioned - But I’m assuming it should be compatible with that API?