public Task <IAsyncEnumerator <RavenJObject> > StreamDocsAsync(Etag fromEtag = null, string startsWith = null, string matches = null, int start = 0, int pageSize = 2147483647) { var streamDocs = databaseCommands.StreamDocs(fromEtag, startsWith, matches, start, pageSize); return(new CompletedTask <IAsyncEnumerator <RavenJObject> >(new AsyncEnumeratorBridge <RavenJObject>(streamDocs))); }