Implementation for the wrap type.
Materializes are executes the stream.
Materializes are executes the stream.
Reads all items from the Stream and returns the last.
Reads all items from the Stream and returns the last.
For a more efficient one use swaydb.Map.lastOption or swaydb.Set.lastOption instead.
Materialises/closes and processes the stream to a Seq.
Folds over all elements in the Stream to calculate it's total size.
Folds over all elements in the Stream to calculate it's total size.
Converts the current Stream with Future API.
Converts the current Stream with Future API. If the current stream is blocking, the output stream will still return blocking stream but wrapped as future APIs.
If the current stream is Future/Async this will return a blocking stream.
If the current stream is Future/Async this will return a blocking stream.
If the current stream is async/future based then the timeout is used else it's ignored.
If the current stream is Async this will return a blocking stream.
If the current stream is Async this will return a blocking stream.
If the current stream is async/future based then the timeout is used else it's ignored.
(Since version ) see corresponding Javadoc for more information.
A Stream performs lazy iteration. It does not cache data and fetches data only if it's required by the stream.
stream item's type
wrapper type.