[perf] skip costly resolver invocation if it is known not to be needed.

This reduces the cost of promise chaining, for both public, and internal
usages.