Skip to content

Instantly share code, notes, and snippets.

@clairernovotny
Created July 2, 2013 04:51
Show Gist options
  • Save clairernovotny/5906841 to your computer and use it in GitHub Desktop.
Save clairernovotny/5906841 to your computer and use it in GitHub Desktop.
UI thread for store
public IAsyncAction ExecuteOnUIThread<TException>(DispatchedHandler action)
{
return CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync(CoreDispatcherPriority.Normal, action);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment