Closed jeffersonsetiawan closed 2 years ago
@jeffersonsetiawan what's the difference with this one https://github.com/tokopedia/RxComposableArchitecture/blob/main/Sources/RxComposableArchitecture/Effects/Deferring.swift?
@jeffersonsetiawan what's the difference with this one https://github.com/tokopedia/RxComposableArchitecture/blob/main/Sources/RxComposableArchitecture/Effects/Deferring.swift?
Deferred will Returns an effect that will be executed after given dueTime
.
Throttle will emit the value first, and discard any new emited value within the interval
time range
cool maybe we can also introduce this to TCA too.
I implement the throttle based on the original TCA throttle wen kwkwk
https://github.com/pointfreeco/swift-composable-architecture/blob/main/Sources/ComposableArchitecture/Effects/Throttling.swift