Does a 338 election result in an accelerated tax result for the seller in the same way a pure stock sale would?

Working on a 100% seller financing deal now and am hearing that a pure stock sale results in an immediate tax consequence for the seller however with an asset deal the tax burden is incurred "over time". Trying to understand if we elect 338 can we still get the same tax treatment as if it were an asset deal?