public Task <TResult> RunOnDispatcherThreadAsync <TResult>(Func <TResult> action, CancellationToken cancellationToken) => InternalDispatcher.RunOnDispatcherThreadAsync(action, cancellationToken);
public Task RunOnDispatcherThreadAsync(Action action, CancellationToken cancellationToken) => InternalDispatcher.RunOnDispatcherThreadAsync(action, cancellationToken);