c# - Asynchronous Webservice Integration - Callback approach -


i have webservice webservice calls 3rd party webservice b asynchronously. webservice b can succeed or fail. calls success or fail information. best practice in case? create 2 callback endpoints in (success , fail) or 1 callback can handle both sucess , error scenarios.

thanks,

j

i have decided go single callback have found simpler , best matches requirements (since success , error callback similar). have noticed having single callback makes cleaner handle partial successes.


Comments

Popular posts from this blog

php - Extract Text from HTTP referer -

java - Callback from new thread to class from which thread was initiated -

Receive udp packets in android gstreamer -