예제 #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, () => { });
예제 #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);
예제 #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);