Skip to main content
added 60 characters in body
Source Link

Store a couple : function name + boolean so you can even provide information on which request is actually processing on a multi request process.

The benefit of this will be to Identify which one of the request is upon a time slow or not returning result.

Ex:

{[ req1:0, req2:1 req3:1 ]}

You'll know that req1 hasn't returned any result yet. With that simple int counter you loose that information, and won't be able to debug easily.

Store a couple : function name + boolean so you can even provide information on which request is actually processing on a multi request process.

Store a couple : function name + boolean so you can even provide information on which request is actually processing on a multi request process.

The benefit of this will be to Identify which one of the request is upon a time slow or not returning result.

Ex:

{[ req1:0, req2:1 req3:1 ]}

You'll know that req1 hasn't returned any result yet. With that simple int counter you loose that information, and won't be able to debug easily.

Source Link

Store a couple : function name + boolean so you can even provide information on which request is actually processing on a multi request process.