anchor.diff:      // execution all of next functions and complete returned future with error
       Future.forEach(
         requests,
  -      (oneRequest) => processingFunc(oneRequest)
  -          .then((oneResponse){
  -            print(oneResponse);
  -            responses.add(oneResponse);
  -            print("RESPONSE: ${oneResponse}");
  +      (request) => processingFunc(request)
  +          .then((response){
  +            print(response);
  +            responses.add({'id': request["id"], 'response': response});
  +            print("RESPONSE: ${response}");
             }))
         .then(
           (_)=>c.complete(responses))
  
positive.code:       _splitAndProcessRequests(requests).then((response) {
          request.response
            ..headers.add("Access-Control-Allow-Origin", "*") // I do not know why this is needed
              ..headers.contentType = ContentType.parse("application/json")
              ..write(JSON.encode(response))
                ..close();
        }).catchError((e){
          print('Error: $e');
          request.response
            ..headers.add("Access-Control-Allow-Origin", "*") // I do not know why this is needed
              ..headers.contentType = ContentType.parse("application/json")
              ..statusCode = HttpStatus.BAD_REQUEST
                ..close();
        });
      });
    }
  
negative.code: 
      final List responses = new List();
      //processingFunc will be function for processing one request
      var processingFunc = (Map req) => requestHandler.handleRequest(req["request"]["name"], req["request"]);
  
      //now you need to call on each element of requests function processingFunc
      //this calls are asynchronous but must run in seqencial order
  