Skip to content
0:00 / 0:00

#flutter#rxdart#switchmap

RxDart by example: querying the GitHub Search API with switchMap & debounce

Andrea Bizzotto

41K subscribers • 25 videos on Hallway

YouTube

Intermediate. Assumes working knowledge.

5.4K views6 years ago2 recommendations

Mobile developmentProgramming languagesFlutter and React NativeConcurrency and parallelismAPI design

Andrea Bizzotto demonstrates how to implement search with RxDart in Flutter, using switchMap and debounce to handle API rate limits.

Written tutorial here: 👇👇 codewithandrea.com/videos/2020-05-11-rxdart-by-example-githu… This tutorial shows best practices for implementing search with RxDart in Flutter, using the GitHub Search REST API as an example. HIGHLIGHTS - Intro - Code Overview - Adding a stream listener - getting responses in-order with the asyncMap operator - discarding in-flight requests with the switchMap operator - dealing with rate limits with the debounce operator CREDITS ReactiveConf 2018 - Brian Egan & Filip Hracek: Practical Rx with Flutter: youtu.be/7O1UO5rEpRc Full Source Code: 👇👇 github.com/bizz84/github_search_flutter_client_rxdart_exampl… Want more? Check out all my Flutter courses: 👇👇 codewithandrea.com/courses/ Happy coding!

Why it's here

2 people recommend this

What people say. Recommended as a great example of using RxDart operators like switchMap to handle search streams in Flutter.

u/bizz84in r/FlutterDev • Recommends

RxDart by example: querying the GitHub Search API with switchMap & debounce

u/Aioli_Samein r/FlutterDev • Recommends

On “Is there a way to pause streambuilder and start it programmatically”

This might help. He uses a Streambuider with a SwitchMap which is what you probably need. [video