Closed johnogle222 closed 5 years ago
I realize now this isn't working as intended. Let me read some docs and go back to the drawing board :)
I ended up converting this to a List
and then calling size
like so:
const results = Seq(LazySearch.from(search.create(...)))
.takeWhile(governanceRemains(new Date().getTime(), 0.1))
.map(...)
.toList()
const totalResultCount = results.size
The intent here is to be able to do the following: