Two implementations of delaySubscription17 Apr 2021 ⇐ Notes archive
(This is an entry in my technical notebook. There will likely be typos, mistakes, or wider logical leaps — the intent here is to “let others look over my shoulder while I figure things out.”)
It’s different than
Publisher.delay in that it shifts the point of subscription forward in time instead of emissions (à la
The primary step is holding a received subscription for the specified delay before forwarding it downstream. Which begs my favorite question, can this be implemented as composed operator? It can! An approach is tucked away in isowords’ repo under the
Effect.deferred naming, where the Point-Free team uses it delay a
Never-Never sound effect until after a game cube is removed.