Create a new ResolvedIDMap
Iterate through all the [ID, T] pairs
Remove the mapping from id to a value.
whether the map contained a value for id
Get the value for id, handling loops. This should only be called within the resolver.
If it is currently being resolved, this returns Resolving, otherwise acts as get does.
This can be tested for using ResolvedIDMap::isResolved
Get the raw, unresolved T value for id
Test if this map has a value for id
Call the resolver for all of the dependents of id.
This is useful for the error-reporting use case mentioned in the README.
Create a new mapping from id=>raw
Generated using TypeDoc
ResolvedIDMap<T, R>is a mapping fromIDtoT, but with support for lazy, cached 'resolving' from that value ofTto anR.For more detail, see the README.