import { deserializeStream } from "https://deno.land/x/atlas_sdk@v1.1.3/deps.ts";
Deserialize stream data as BSON documents.
Parameters
documents: Document[]
- an array where to store the deserialized documents.
options: DeserializeOptions
- additional options used for the deserialization.