Skip to content

Instantly share code, notes, and snippets.

@marcossevilla
Created April 17, 2021 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcossevilla/2d768eb2d43666df3700f8c43f977287 to your computer and use it in GitHub Desktop.
Save marcossevilla/2d768eb2d43666df3700f8c43f977287 to your computer and use it in GitHub Desktop.
final concurrentResponse = await Future.wait([
dioPlaceholder.get('todos/1'),
dioRickAndMorty.get('/episode/1'),
]);
concurrentResponse.forEach((res) => print('\n${res.data}'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment