Created by createPreviewRunner.
Runs p on input. Resolves with null if a newer run (or cancel) came in before this one finished, so only the latest result is shown.
p
input
null
run
cancel
Discards the run in progress, if any.
Created by createPreviewRunner.