Commit Graph

8 Commits

Author SHA1 Message Date
Eric Rozell
b72bf77e25 fix(async): Changing all await calls to .ConfigureAwait(false)
The async calls in CodePush for ReactWindows can all be executed on any background thread, so adding .ConfigureAwait(false) can improve performance and reduce the likelihood of deadlock.  The blocking calls in `InitializeUpdateAfterRestart()` were hanging, but now that .ConfigureAwait(false) is used pervasively, it is no longer a problem.

Fixes #550
2016-10-05 09:47:20 -04:00
Eric Rozell
ea265bb1e4 Use async void for ReactMethods instead of requeueing an async action on the native module thread. (#551) 2016-10-04 22:18:34 -07:00
Eric Rozell
9396824ba1 style(CodePush): Minor cosmetic changes throughout project (#549)
Includes the following changes:
* UpdateState.Lastest -> UpdateState.Latest
* Added *Async suffix to Task returning methods
* Using DateTimeOffset in MinimumBackgroundListener
* Disposing IDisposable streams in UpdateManager.DownloadPackage
2016-10-04 12:57:30 -07:00
Geoffrey Goh
0bd9afb3d5 Min -> Minimum 2016-05-06 10:26:40 -07:00
Geoffrey Goh
67a65ded01 native modules can take enum args! 2016-05-05 14:11:58 -07:00
Geoffrey Goh
40b8c8ef41 CR feedback 2016-05-05 14:02:54 -07:00
Geoffrey Goh
08283efe2d CR feedback 2016-05-05 10:37:38 -07:00
Geoffrey Goh
97b8233d26 CR feedback 2016-05-04 18:26:33 -07:00