final case classSingleValue[T](value: T) extends AnyVal with Product with Serializable
A type tag to forbid implicit conversion on a list of monads.
It forbids an conversion from Seq[Monad[SingleValue[T]]] to
Seq[T]. This is useful when you provide no Resolve.run
which resolves multiple values all together but provide one
which resolves each element separately (via Seq.map for
example) and want to prevent users from expecting that they can
be resolved at once.
A type tag to forbid implicit conversion on a list of monads.
It forbids an conversion from
Seq[Monad[SingleValue[T]]]
toSeq[T]
. This is useful when you provide noResolve.run
which resolves multiple values all together but provide one which resolves each element separately (viaSeq.map
for example) and want to prevent users from expecting that they can be resolved at once.