A CompletedRequestMap is a universally quantified mapping from requests of type Request[E, A] to results of type Exit[E, A] for all types E and A. The guarantee is that for any request of type Request[E, A], if there is a corresponding value in the map, that value is of type Exit[E, A]. This is used by the library to support data sources that return different result types for different requests while guaranteeing that results will be of the type requested.
Attributes
- Companion
- object
- Source
- CompletedRequestMap.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Members list
Value members
Concrete methods
Returns whether a result exists for the specified request.
Returns whether a result exists for the specified request.
Attributes
- Source
- CompletedRequestMap.scala
Whether the completed requests map is empty.
Retrieves the result of the specified request if it exists.
Retrieves the result of the specified request if it exists.
Attributes
- Source
- CompletedRequestMap.scala
Collects all requests in a set.
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
- Source
- CompletedRequestMap.scala
Deprecated methods
Appends the specified result to the completed requests map.
Appends the specified result to the completed requests map.
Attributes
- Deprecated
-
[Since version 0.7.0]Use one of the constructors in the companion object instead. See scaladoc for more infoUsage of this method is deprecated as it leads to performance degradation. Prefer using one of the constructors in the companion object instead
- Source
- CompletedRequestMap.scala
Appends the specified result to the completed requests map.
Appends the specified result to the completed requests map.
Attributes
- Deprecated
-
[Since version 0.7.0]Use one of the constructors in the companion object instead. See scaladoc for more infoUsage of this method is deprecated as it leads to performance degradation. Prefer using one of the constructors in the companion object instead
- Source
- CompletedRequestMap.scala
Appends the specified optional result to the completed request map.
Appends the specified optional result to the completed request map.
Attributes
- Deprecated
-
[Since version 0.7.0]Use one of the constructors in the companion object instead. See scaladoc for more infoUsage of this method is deprecated as it leads to performance degradation. Prefer using one of the constructors in the companion object instead
- Source
- CompletedRequestMap.scala