springtg / lidgren-network-gen3

Automatically exported from code.google.com/p/lidgren-network-gen3
0 stars 0 forks source link

Patch adding asynchronous NetUtility.Resolve() #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Here's a patch that adds two ResolveAsync() methods to NetUtility, matching the 
existing Resolve() methods.

The use case is of course to avoid freezing the game / application UI while 
resolving.

Possible improvements: avoid the (little) code duplication by making the 
synchronous version just call the asynchronous one and block until it's done.

Original issue reported on code.google.com by elise...@gmail.com on 26 Sep 2011 at 7:12

GoogleCodeExporter commented 9 years ago
Here's a patch indented with tabs instead of spaces to match your indent style

Original comment by elise...@gmail.com on 26 Sep 2011 at 9:14

Attachments:

GoogleCodeExporter commented 9 years ago
Added in rev 266; thanks!

Original comment by lidg...@gmail.com on 1 Oct 2011 at 10:54