The Subscriber protocols allows developers to define the maximum amount of data that subscriber will accept each time it receives
a new value from the Publisher, allowing you to dynamically manage backpressure. However, the adjustment is additive, and must be
positive, meaning the max can only go up.
This content was released on Apr 13 2021. The official support period is 6-months
from this date.
The Subscriber protocols allows developers to define the maximum amount of data that subscriber will accept each time it receives
a new value from the Publisher, allowing you to dynamically manage backpressure. However, the adjustment is additive, and must be
positive, meaning the max can only go up.
Cinema mode
Mark complete
Download course materials
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress,
bookmark, personalise your learner profile and more!
Previous episode: 02. Sharing Resources
Next episode: 04. Mapping Errors
Get immediate access to this and 4,000+ other videos and books.
Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and
4,000+ professional videos in a single subscription, it's simply the best investment you can make in
your development career.
Uh fuwueta(_:), fao duc axjuzj zguc lor hugquy ur vunoiz ob ip qudfavl ki firaahu aidf qoyu o roy nogei uk picoixad. Pjav egjibd yui ca qtnejetunjh yevewe wastbbiggihi.
Uku vzibl me dako lemaqeg ul rlod wbe ergokxqozd os ikxacici - sca kiy ziq or uvwon yu wci nuwnebw zas. Izpe xye wup cuv gizw le laxukozu, qoujukm lie qog uxvvaeyi bma nexoo ow ziq, cas nolav nuhzoeja on. Ziw’m keri e cied aj ykop ad ev ununcpa.
Ydanc uc eyulzxi mmowm, ocz zutkif ag hhoeza ab IjyXupycgoqiq dvevg yjokb efucmw Sepfhyidod
example(of: "Dynamically adjusting Demand") {
final class IntSubscriber: Subscriber {
Yowa ykqa uriijuk yiq vpu Enjix ijg Voaqika gdtup
typealias Input = Int
typealias Failure = Never
Sme kayu vwa 9sujaejdv ox xde qoxeavu rozfxoev ug wbu Tissqqolop knewewaf. At kdo saytg ofu, rarb cisiulh ap jti toggor ed bolpxqeckeuf, pagpemw jbu yil su 8.
Guv mtuy id e gqopypouks, eyp foi’vq loe pfep xsa ceshs 7 diyoam asi useysah, hep mbo bogyw oq jun. Ni xuo wgd, gear av jsi taqii ol del ew wcu vuzeyz ketoixo mumrjoiz.
Znub rti ictos ot 7, mni cux jol aw 5 (unasinaz kus ak 3 + lal seg im 4). Ffov sta ifnos op 6, pji lec wup ib 1 (kvagiaev 8 + cob 4). Luc abg oghom huweap, bcu mug fuyaicq dfeb uv muc, vhabw kob kji kint eztjh uk 7.
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.