Exemple #1
0
 /// <summary>
 /// Subscribe to the process's observable stream.
 /// NOTE: The process can publish any number of types, any published messages
 ///       not of type T will be ignored.
 /// </summary>
 public static IDisposable subs <T>(ProcessId pid, Action <T> onNext, Action <Exception> onError) =>
 ObservableRouter.Subscribe(pid, onNext, onError, () => { });
Exemple #2
0
 /// <summary>
 /// Subscribe to the process's observable stream.
 /// NOTE: The process can publish any number of types, any published messages
 ///       not of type T will be ignored.
 /// </summary>
 public static IDisposable subs <T>(ProcessId pid, Action <T> onNext, Action onComplete) =>
 ObservableRouter.Subscribe(pid, onNext, ex => { }, onComplete);
Exemple #3
0
 /// <summary>
 /// Subscribe to the process's observable stream.
 /// NOTE: The process can publish any number of types, any published messages
 ///       not of type T will be ignored.
 /// </summary>
 public static IDisposable subs <T>(ProcessId pid, IObserver <T> observer) =>
 ObservableRouter.Subscribe(pid, observer);