api_queue_handler

Last updated:

0 purchases

api_queue_handler Image
api_queue_handler Images
Add to Cart

Description:

api queue handler

Queue up your API requests effortlessly, ensuring they are processed one after the other. #
import 'package:api_queue_handler/api_queue_handler.dart';
copied to clipboard

ApiManager().initialize('Your base url');

// When we don't want to use 'await', but we want to receive the results in order.
// For example,This will take longer, but it will be finished first.
ApiManager().request(endpoint: 'a',runParallel:false).then((value){});
// It will be finished second.
ApiManager().request(endpoint: 'b',runParallel:false).then((value){});


copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.