 
            
            
            
            
                28 Aug
                
                    2015
                
            
            
                28 Aug
                
                '15
                
            
            
            
        
    
                2:51 p.m.
            
        So to repeat myself, as a guideline to write a future based API: 1. You should always return a single (unique) future that represents the result of the asynchronous operation. 2. Never return shared_future from your API functions 3. Use the standard wait composure functions instead of trying to be clever and hide all that from the user inside your async functions.
I agree 100% to all of the above! Regards Hartmut --------------- http://boost-spirit.com http://stellar.cct.lsu.edu