Method SetTypeResolver(Func<long, Type?>)
Set the type resolver function for polymorphic deserialization. Without one, a scheme id resolves in the
cache domain of the redb service current for the calling flow, else of the service initialized last.
public static void SetTypeResolver(Func<long, Type?> resolver)