You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the navigation provider returns a Task.
public interface INavigationProvider
{
Task BuildNavigationAsync(string name, NavigationBuilder builder);
}
In most implementations we do not need a task. I suggest changing that to return ValueTask instead. INavigationProvider is evaluated on every request and we could benefit from this optimization.
The text was updated successfully, but these errors were encountered:
Currently, the navigation provider returns a
Task
.In most implementations we do not need a task. I suggest changing that to return
ValueTask
instead.INavigationProvider
is evaluated on every request and we could benefit from this optimization.The text was updated successfully, but these errors were encountered: