mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
14 lines
310 B
C#
14 lines
310 B
C#
using System;
|
|
using System.Reactive.Linq;
|
|
using Avalonia.Threading;
|
|
using ReactiveUI;
|
|
|
|
namespace Wabbajack.App.Extensions;
|
|
|
|
public static class ReactiveUIExtensions
|
|
{
|
|
public static IObservable<T> OnUIThread<T>(this IObservable<T> src)
|
|
{
|
|
return src.ObserveOn(AvaloniaScheduler.Instance);
|
|
}
|
|
} |