MENU

Fun & Interesting

How Effect Simplifies Your Code - TypeScript

Lucas Barake 4,223 lượt xem 6 months ago
Video Not Working? Fix It Now

Buy me a coffee! https://buymeacoffee.com/lucasbarake

Code: https://gist.github.com/lucas-barake/951aa972e2e72f825650166bcd6c5522

00:00 Intro
03:10 Scaffolding the Solution
07:40 Implementing the Mutex/Semaphore
08:55 Timeout & Retry Policies
12:18 Exposing a Mechanism for Consumer Retries
13:09 Implementing the Latch
15:26 Usage Example
17:36 Prevent Multiple Unnecessary Refreshes
19:24 Integrating Telemetry
20:20 Dependency Injection Overview
22:36 Without Effect Comparison
23:52 Conclusion

Comment