scala.collection.mutable.Builder requires two implementations for 2.13 and 2.12.
scala.collection.mutable.Builder requires two implementations for 2.13 and 2.12.
2.13 requires addOne and 2.12 requires +=. So this type simply wrapper around Builder which is used internally to avoid having 2 implementation of Builder.
Bags implement functions for managing side-effect.
IO.Right and IO.Left are similar to types in scala.util.Try.
A Stream performs lazy iteration.
A Stream performs lazy iteration. It does not cache data and fetches data only if it's required by the stream.
Iterator that can be used to build Streams from other streaming libraries.
Iterator that can be used to build Streams from other streaming libraries.
This trait can be used to create async or sync streams.
Exception types for all known Errors that can occur.
Exception types for all known Errors that can occur. Each Error can be converted to Exception which which can then be converted back to Error.
SwayDB's code itself does not use these exception it uses Error type. These types are handy when converting an IO type to scala.util.Try by the client using toTry.
A Stream performs lazy iteration.
A Stream performs lazy iteration. It does not cache data and fetches data only if it's required by the stream.