{"id":17238392,"url":"https://github.com/hoc081098/rxdart_flatmap_max_concurrent","last_synced_at":"2025-06-18T02:36:36.388Z","repository":{"id":64582907,"uuid":"576574826","full_name":"hoc081098/rxdart_flatmap_max_concurrent","owner":"hoc081098","description":"Using `rxdart`'s `flatMap` with `maxConcurrent` to limit the number of concurrent requests.","archived":false,"fork":false,"pushed_at":"2023-12-15T17:25:52.000Z","size":10,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T02:29:59.064Z","etag":null,"topics":["flutter-rx","flutter-rx-storage","flutter-rxdart","rxdart","rxdart-bloc","rxdart-debug-operator","rxdart-example","rxdart-ext","rxdart-extension","rxdart-extensions","rxdart-flutter","rxdart-helper","rxdart-sample","rxflutter"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hoc081098.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-12-10T09:26:35.000Z","updated_at":"2025-03-16T12:28:30.000Z","dependencies_parsed_at":"2025-04-15T11:01:49.168Z","dependency_job_id":null,"html_url":"https://github.com/hoc081098/rxdart_flatmap_max_concurrent","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hoc081098/rxdart_flatmap_max_concurrent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoc081098%2Frxdart_flatmap_max_concurrent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoc081098%2Frxdart_flatmap_max_concurrent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoc081098%2Frxdart_flatmap_max_concurrent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoc081098%2Frxdart_flatmap_max_concurrent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hoc081098","download_url":"https://codeload.github.com/hoc081098/rxdart_flatmap_max_concurrent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoc081098%2Frxdart_flatmap_max_concurrent/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260475709,"owners_count":23014915,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flutter-rx","flutter-rx-storage","flutter-rxdart","rxdart","rxdart-bloc","rxdart-debug-operator","rxdart-example","rxdart-ext","rxdart-extension","rxdart-extensions","rxdart-flutter","rxdart-helper","rxdart-sample","rxflutter"],"created_at":"2024-10-15T05:45:31.034Z","updated_at":"2025-06-18T02:36:31.374Z","avatar_url":"https://github.com/hoc081098.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rxdart_flatmap_max_concurrent\n\nUsing `rxdart`'s `flatMap` with `maxConcurrent` to limit the number of concurrent requests.\n\n## Author: [Petrus Nguyễn Thái Học](https://github.com/hoc081098)\n\n[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fhoc081098%2Frxdart_flatmap_max_concurrent\u0026count_bg=%2379C83D\u0026title_bg=%23555555\u0026icon=\u0026icon_color=%23E7E7E7\u0026title=hits\u0026edge_flat=false)](https://hits.seeyoufarm.com)\n\n```dart\nStream\u003cvoid\u003e sendRequest(_Entry entry) {\n  print('SimpleClient: --\u003e ${entry.request.url}');\n\n  return _client\n      .send(entry.request)\n      .asStream()\n      .doOnError(entry.completer.completeError)\n      .doOnData(entry.completer.complete)\n      .onErrorResumeNext(Stream.empty())\n      .doOnCancel(() =\u003e print('SimpleClient: \u003c-- ${entry.request.url}'));\n}\n\n// Use [flatMap] from `rxdart` to limit the number of concurrent requests easily :))\nrequestController.stream\n    .flatMap(sendRequest, maxConcurrent: maxConcurrent)\n    .listen(null);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoc081098%2Frxdart_flatmap_max_concurrent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhoc081098%2Frxdart_flatmap_max_concurrent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoc081098%2Frxdart_flatmap_max_concurrent/lists"}