private void ThreadModel(FSharpAsync<Unit> obj)
 {
     ThreadHelper.JoinableTaskFactory.RunAsync(async () =>
     {
         await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync();
         FSharpAsync.StartImmediate(obj, null);
     });
 }