Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
IObservableTaskFactory.cs
1using System;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
7
9{
10 public interface IObservableTaskFactory
11 {
12 ObservableTask<TProgress> Create<TProgress>(
13 string name,
14 Func<TaskContext<TProgress>, Task> op,
15 bool autoStart = true,
16 bool useTaskRun = false,
17 params IAsyncPolicy[] policies);
18 }
19}
Provides a data-binding friendly mechanism to manage and report the status of asynchronous operations...
class TaskContext< TProgress >(bool IsRefreshing, CancellationToken CancellationToken, IProgress< TProgress > Progress)
Represents the context for an asynchronous task execution.
Definition: TaskContext.cs:9