Method RemoveObjectsOfTypes(Func<Type, bool>)

Assembly: redb.Core.dll

Removes every cached object whose type unloading answers true for. redb calls it when a
collectible AssemblyLoadContext unloads (a module of Tsak, for instance), with a predicate that
recognizes the types of that context: an object of such a type kept here would keep the context alive.
The default implementation clears the whole cache, which is correct at the price of a cold cache.

void RemoveObjectsOfTypes(Func<Type, bool> unloading)