This is Understanding Combine, written by Matt Neuburg. Corrections and suggestions are greatly appreciated (you can comment here). So are donations; please consider keeping me going by funding this work at http://www.paypal.me/mattneub. Or buy my books: the current (and final) editions are iOS 15 Programming Fundamentals with Swift and Programming iOS 14. Thank you!
.delay (Publishers.Delay) inserts a pause between the time a value is received from upstream and the time it is passed on downstream. The parameters are:
for:.seconds(1), .milliseconds(100), and so forth; if you supply an Int or Double literal, it will be taken to mean seconds.tolerance:for:. Optional; you’ll usually omit it.scheduler:DispatchQueue.main.options: