)} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)} )} ,System.Reactive.Concurrency.IScheduler)}
Observable.ToAsync(Func) method¶
Defined in
Type: Observable
Namespace: System.Reactive.Linq
Assembly: System.Reactive.dll
Applies to
netstandard2.0
Overloads¶
- 1.
public static Func<IObservable<TResult>> ToAsync<TResult>(this Func<TResult> function) - 2.
public static Func<IObservable<TResult>> ToAsync<TResult>(this Func<TResult> function, IScheduler scheduler) - 3.
public static Func<TArg1, IObservable<TResult>> ToAsync<TArg1, TResult>(this Func<TArg1, TResult> function) - 4.
public static Func<TArg1, IObservable<TResult>> ToAsync<TArg1, TResult>(this Func<TArg1, TResult> function, IScheduler scheduler) - 5.
public static Func<TArg1, TArg2, IObservable<TResult>> ToAsync<TArg1, TArg2, TResult>(this Func<TArg1, TArg2, TResult> function) - 6.
public static Func<TArg1, TArg2, IObservable<TResult>> ToAsync<TArg1, TArg2, TResult>(this Func<TArg1, TArg2, TResult> function, IScheduler scheduler) - 7.
public static Func<TArg1, TArg2, TArg3, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TResult>(this Func<TArg1, TArg2, TArg3, TResult> function) - 8.
public static Func<TArg1, TArg2, TArg3, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TResult>(this Func<TArg1, TArg2, TArg3, TResult> function, IScheduler scheduler) - 9.
public static Func<TArg1, TArg2, TArg3, TArg4, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TResult> function) - 10.
public static Func<TArg1, TArg2, TArg3, TArg4, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TResult> function, IScheduler scheduler) - 11.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TResult> function) - 12.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TResult> function, IScheduler scheduler) - 13.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult> function) - 14.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult> function, IScheduler scheduler) - 15.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult> function) - 16.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult> function, IScheduler scheduler) - 17.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult> function) - 18.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult> function, IScheduler scheduler) - 19.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult> function) - 20.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult> function, IScheduler scheduler) - 21.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult> function) - 22.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult> function, IScheduler scheduler) - 23.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult> function) - 24.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult> function, IScheduler scheduler) - 25.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult> function) - 26.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult> function, IScheduler scheduler) - 27.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult> function) - 28.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult> function, IScheduler scheduler) - 29.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult> function) - 30.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult> function, IScheduler scheduler) - 31.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult> function) - 32.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult> function, IScheduler scheduler) - 33.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16, TResult> function) - 34.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16, TResult> function, IScheduler scheduler) - 35.
public static Func<IObservable<Unit>> ToAsync(this Action action) - 36.
public static Func<IObservable<Unit>> ToAsync(this Action action, IScheduler scheduler) - 37.
public static Func<TArg1, IObservable<Unit>> ToAsync<TArg1>(this Action<TArg1> action) - 38.
public static Func<TArg1, IObservable<Unit>> ToAsync<TArg1>(this Action<TArg1> action, IScheduler scheduler) - 39.
public static Func<TArg1, TArg2, IObservable<Unit>> ToAsync<TArg1, TArg2>(this Action<TArg1, TArg2> action) - 40.
public static Func<TArg1, TArg2, IObservable<Unit>> ToAsync<TArg1, TArg2>(this Action<TArg1, TArg2> action, IScheduler scheduler) - 41.
public static Func<TArg1, TArg2, TArg3, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3>(this Action<TArg1, TArg2, TArg3> action) - 42.
public static Func<TArg1, TArg2, TArg3, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3>(this Action<TArg1, TArg2, TArg3> action, IScheduler scheduler) - 43.
public static Func<TArg1, TArg2, TArg3, TArg4, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4>(this Action<TArg1, TArg2, TArg3, TArg4> action) - 44.
public static Func<TArg1, TArg2, TArg3, TArg4, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4>(this Action<TArg1, TArg2, TArg3, TArg4> action, IScheduler scheduler) - 45.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5> action) - 46.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5> action, IScheduler scheduler) - 47.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6> action) - 48.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6> action, IScheduler scheduler) - 49.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7> action) - 50.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7> action, IScheduler scheduler) - 51.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8> action) - 52.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8> action, IScheduler scheduler) - 53.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9> action) - 54.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9> action, IScheduler scheduler) - 55.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10> action) - 56.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10> action, IScheduler scheduler) - 57.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11> action) - 58.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11> action, IScheduler scheduler) - 59.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12> action) - 60.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12> action, IScheduler scheduler) - 61.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13> action) - 62.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13> action, IScheduler scheduler) - 63.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14> action) - 64.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14> action, IScheduler scheduler) - 65.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15> action) - 66.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15> action, IScheduler scheduler) - 67.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16> action) - 68.
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16> action, IScheduler scheduler)
1. Overload¶
public static Func<IObservable<TResult>> ToAsync<TResult>(this Func<TResult> function)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function.
Type parameters
| Name | Description |
|---|---|
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function is null. |
2. Overload¶
public static Func<IObservable<TResult>> ToAsync<TResult>(this Func<TResult> function, IScheduler scheduler)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
scheduler | [IScheduler](# | Scheduler to invoke the original function on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function or scheduler is null. |
3. Overload¶
public static Func<TArg1, IObservable<TResult>> ToAsync<TArg1, TResult>(this Func<TArg1, TResult> function)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function is null. |
4. Overload¶
public static Func<TArg1, IObservable<TResult>> ToAsync<TArg1, TResult>(this Func<TArg1, TResult> function, IScheduler scheduler)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
scheduler | [IScheduler](# | Scheduler to invoke the original function on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function or scheduler is null. |
5. Overload¶
public static Func<TArg1, TArg2, IObservable<TResult>> ToAsync<TArg1, TArg2, TResult>(this Func<TArg1, TArg2, TResult> function)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function is null. |
6. Overload¶
public static Func<TArg1, TArg2, IObservable<TResult>> ToAsync<TArg1, TArg2, TResult>(this Func<TArg1, TArg2, TResult> function, IScheduler scheduler)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
scheduler | [IScheduler](# | Scheduler to invoke the original function on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function or scheduler is null. |
7. Overload¶
public static Func<TArg1, TArg2, TArg3, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TResult>(this Func<TArg1, TArg2, TArg3, TResult> function)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function is null. |
8. Overload¶
public static Func<TArg1, TArg2, TArg3, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TResult>(this Func<TArg1, TArg2, TArg3, TResult> function, IScheduler scheduler)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
scheduler | [IScheduler](# | Scheduler to invoke the original function on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function or scheduler is null. |
9. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TResult> function)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function is null. |
10. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TResult> function, IScheduler scheduler)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
scheduler | [IScheduler](# | Scheduler to invoke the original function on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function or scheduler is null. |
11. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TResult> function)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function is null. |
12. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TResult> function, IScheduler scheduler)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
scheduler | [IScheduler](# | Scheduler to invoke the original function on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function or scheduler is null. |
13. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult> function)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TArg6 | The type of the sixth argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function is null. |
14. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult> function, IScheduler scheduler)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TArg6 | The type of the sixth argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
scheduler | [IScheduler](# | Scheduler to invoke the original function on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function or scheduler is null. |
15. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult> function)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TArg6 | The type of the sixth argument passed to the function. |
TArg7 | The type of the seventh argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function is null. |
16. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult> function, IScheduler scheduler)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TArg6 | The type of the sixth argument passed to the function. |
TArg7 | The type of the seventh argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
scheduler | [IScheduler](# | Scheduler to invoke the original function on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function or scheduler is null. |
17. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult> function)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TArg6 | The type of the sixth argument passed to the function. |
TArg7 | The type of the seventh argument passed to the function. |
TArg8 | The type of the eighth argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function is null. |
18. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult> function, IScheduler scheduler)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TArg6 | The type of the sixth argument passed to the function. |
TArg7 | The type of the seventh argument passed to the function. |
TArg8 | The type of the eighth argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
scheduler | [IScheduler](# | Scheduler to invoke the original function on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function or scheduler is null. |
19. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult> function)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TArg6 | The type of the sixth argument passed to the function. |
TArg7 | The type of the seventh argument passed to the function. |
TArg8 | The type of the eighth argument passed to the function. |
TArg9 | The type of the ninth argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function is null. |
20. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult> function, IScheduler scheduler)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TArg6 | The type of the sixth argument passed to the function. |
TArg7 | The type of the seventh argument passed to the function. |
TArg8 | The type of the eighth argument passed to the function. |
TArg9 | The type of the ninth argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
scheduler | [IScheduler](# | Scheduler to invoke the original function on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function or scheduler is null. |
21. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult> function)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TArg6 | The type of the sixth argument passed to the function. |
TArg7 | The type of the seventh argument passed to the function. |
TArg8 | The type of the eighth argument passed to the function. |
TArg9 | The type of the ninth argument passed to the function. |
TArg10 | The type of the tenth argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function is null. |
22. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult> function, IScheduler scheduler)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TArg6 | The type of the sixth argument passed to the function. |
TArg7 | The type of the seventh argument passed to the function. |
TArg8 | The type of the eighth argument passed to the function. |
TArg9 | The type of the ninth argument passed to the function. |
TArg10 | The type of the tenth argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
scheduler | [IScheduler](# | Scheduler to invoke the original function on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function or scheduler is null. |
23. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult> function)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TArg6 | The type of the sixth argument passed to the function. |
TArg7 | The type of the seventh argument passed to the function. |
TArg8 | The type of the eighth argument passed to the function. |
TArg9 | The type of the ninth argument passed to the function. |
TArg10 | The type of the tenth argument passed to the function. |
TArg11 | The type of the eleventh argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function is null. |
24. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult> function, IScheduler scheduler)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TArg6 | The type of the sixth argument passed to the function. |
TArg7 | The type of the seventh argument passed to the function. |
TArg8 | The type of the eighth argument passed to the function. |
TArg9 | The type of the ninth argument passed to the function. |
TArg10 | The type of the tenth argument passed to the function. |
TArg11 | The type of the eleventh argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
scheduler | [IScheduler](# | Scheduler to invoke the original function on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function or scheduler is null. |
25. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult> function)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TArg6 | The type of the sixth argument passed to the function. |
TArg7 | The type of the seventh argument passed to the function. |
TArg8 | The type of the eighth argument passed to the function. |
TArg9 | The type of the ninth argument passed to the function. |
TArg10 | The type of the tenth argument passed to the function. |
TArg11 | The type of the eleventh argument passed to the function. |
TArg12 | The type of the twelfth argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function is null. |
26. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult> function, IScheduler scheduler)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TArg6 | The type of the sixth argument passed to the function. |
TArg7 | The type of the seventh argument passed to the function. |
TArg8 | The type of the eighth argument passed to the function. |
TArg9 | The type of the ninth argument passed to the function. |
TArg10 | The type of the tenth argument passed to the function. |
TArg11 | The type of the eleventh argument passed to the function. |
TArg12 | The type of the twelfth argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
scheduler | [IScheduler](# | Scheduler to invoke the original function on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function or scheduler is null. |
27. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult> function)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TArg6 | The type of the sixth argument passed to the function. |
TArg7 | The type of the seventh argument passed to the function. |
TArg8 | The type of the eighth argument passed to the function. |
TArg9 | The type of the ninth argument passed to the function. |
TArg10 | The type of the tenth argument passed to the function. |
TArg11 | The type of the eleventh argument passed to the function. |
TArg12 | The type of the twelfth argument passed to the function. |
TArg13 | The type of the thirteenth argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function is null. |
28. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult> function, IScheduler scheduler)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TArg6 | The type of the sixth argument passed to the function. |
TArg7 | The type of the seventh argument passed to the function. |
TArg8 | The type of the eighth argument passed to the function. |
TArg9 | The type of the ninth argument passed to the function. |
TArg10 | The type of the tenth argument passed to the function. |
TArg11 | The type of the eleventh argument passed to the function. |
TArg12 | The type of the twelfth argument passed to the function. |
TArg13 | The type of the thirteenth argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
scheduler | [IScheduler](# | Scheduler to invoke the original function on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function or scheduler is null. |
29. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult> function)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TArg6 | The type of the sixth argument passed to the function. |
TArg7 | The type of the seventh argument passed to the function. |
TArg8 | The type of the eighth argument passed to the function. |
TArg9 | The type of the ninth argument passed to the function. |
TArg10 | The type of the tenth argument passed to the function. |
TArg11 | The type of the eleventh argument passed to the function. |
TArg12 | The type of the twelfth argument passed to the function. |
TArg13 | The type of the thirteenth argument passed to the function. |
TArg14 | The type of the fourteenth argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function is null. |
30. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult> function, IScheduler scheduler)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TArg6 | The type of the sixth argument passed to the function. |
TArg7 | The type of the seventh argument passed to the function. |
TArg8 | The type of the eighth argument passed to the function. |
TArg9 | The type of the ninth argument passed to the function. |
TArg10 | The type of the tenth argument passed to the function. |
TArg11 | The type of the eleventh argument passed to the function. |
TArg12 | The type of the twelfth argument passed to the function. |
TArg13 | The type of the thirteenth argument passed to the function. |
TArg14 | The type of the fourteenth argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
scheduler | [IScheduler](# | Scheduler to invoke the original function on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function or scheduler is null. |
31. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult> function)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TArg6 | The type of the sixth argument passed to the function. |
TArg7 | The type of the seventh argument passed to the function. |
TArg8 | The type of the eighth argument passed to the function. |
TArg9 | The type of the ninth argument passed to the function. |
TArg10 | The type of the tenth argument passed to the function. |
TArg11 | The type of the eleventh argument passed to the function. |
TArg12 | The type of the twelfth argument passed to the function. |
TArg13 | The type of the thirteenth argument passed to the function. |
TArg14 | The type of the fourteenth argument passed to the function. |
TArg15 | The type of the fifteenth argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function is null. |
32. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult> function, IScheduler scheduler)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TArg6 | The type of the sixth argument passed to the function. |
TArg7 | The type of the seventh argument passed to the function. |
TArg8 | The type of the eighth argument passed to the function. |
TArg9 | The type of the ninth argument passed to the function. |
TArg10 | The type of the tenth argument passed to the function. |
TArg11 | The type of the eleventh argument passed to the function. |
TArg12 | The type of the twelfth argument passed to the function. |
TArg13 | The type of the thirteenth argument passed to the function. |
TArg14 | The type of the fourteenth argument passed to the function. |
TArg15 | The type of the fifteenth argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
scheduler | [IScheduler](# | Scheduler to invoke the original function on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function or scheduler is null. |
33. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16, TResult> function)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TArg6 | The type of the sixth argument passed to the function. |
TArg7 | The type of the seventh argument passed to the function. |
TArg8 | The type of the eighth argument passed to the function. |
TArg9 | The type of the ninth argument passed to the function. |
TArg10 | The type of the tenth argument passed to the function. |
TArg11 | The type of the eleventh argument passed to the function. |
TArg12 | The type of the twelfth argument passed to the function. |
TArg13 | The type of the thirteenth argument passed to the function. |
TArg14 | The type of the fourteenth argument passed to the function. |
TArg15 | The type of the fifteenth argument passed to the function. |
TArg16 | The type of the sixteenth argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function is null. |
34. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16, IObservable<TResult>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16, TResult>(this Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16, TResult> function, IScheduler scheduler)
Summary: Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the function. |
TArg2 | The type of the second argument passed to the function. |
TArg3 | The type of the third argument passed to the function. |
TArg4 | The type of the fourth argument passed to the function. |
TArg5 | The type of the fifth argument passed to the function. |
TArg6 | The type of the sixth argument passed to the function. |
TArg7 | The type of the seventh argument passed to the function. |
TArg8 | The type of the eighth argument passed to the function. |
TArg9 | The type of the ninth argument passed to the function. |
TArg10 | The type of the tenth argument passed to the function. |
TArg11 | The type of the eleventh argument passed to the function. |
TArg12 | The type of the twelfth argument passed to the function. |
TArg13 | The type of the thirteenth argument passed to the function. |
TArg14 | The type of the fourteenth argument passed to the function. |
TArg15 | The type of the fifteenth argument passed to the function. |
TArg16 | The type of the sixteenth argument passed to the function. |
TResult | The type of the result returned by the function. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | Function to convert to an asynchronous function. |
scheduler | [IScheduler](# | Scheduler to invoke the original function on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | function or scheduler is null. |
35. Overload¶
public static Func<IObservable<Unit>> ToAsync(this Action action)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the specified scheduler.
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action is null. |
36. Overload¶
public static Func<IObservable<Unit>> ToAsync(this Action action, IScheduler scheduler)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the specified scheduler.
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
scheduler | [IScheduler](# | Scheduler to invoke the original action on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action or scheduler is null. |
37. Overload¶
public static Func<TArg1, IObservable<Unit>> ToAsync<TArg1>(this Action<TArg1> action)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the default scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action is null. |
38. Overload¶
public static Func<TArg1, IObservable<Unit>> ToAsync<TArg1>(this Action<TArg1> action, IScheduler scheduler)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
scheduler | [IScheduler](# | Scheduler to invoke the original action on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action or scheduler is null. |
39. Overload¶
public static Func<TArg1, TArg2, IObservable<Unit>> ToAsync<TArg1, TArg2>(this Action<TArg1, TArg2> action)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the default scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action is null. |
40. Overload¶
public static Func<TArg1, TArg2, IObservable<Unit>> ToAsync<TArg1, TArg2>(this Action<TArg1, TArg2> action, IScheduler scheduler)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
scheduler | [IScheduler](# | Scheduler to invoke the original action on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action or scheduler is null. |
41. Overload¶
public static Func<TArg1, TArg2, TArg3, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3>(this Action<TArg1, TArg2, TArg3> action)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the default scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action is null. |
42. Overload¶
public static Func<TArg1, TArg2, TArg3, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3>(this Action<TArg1, TArg2, TArg3> action, IScheduler scheduler)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
scheduler | [IScheduler](# | Scheduler to invoke the original action on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action or scheduler is null. |
43. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4>(this Action<TArg1, TArg2, TArg3, TArg4> action)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the default scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action is null. |
44. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4>(this Action<TArg1, TArg2, TArg3, TArg4> action, IScheduler scheduler)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
scheduler | [IScheduler](# | Scheduler to invoke the original action on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action or scheduler is null. |
45. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5> action)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the default scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action is null. |
46. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5> action, IScheduler scheduler)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
scheduler | [IScheduler](# | Scheduler to invoke the original action on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action or scheduler is null. |
47. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6> action)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the default scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
TArg6 | The type of the sixth argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action is null. |
48. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6> action, IScheduler scheduler)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
TArg6 | The type of the sixth argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
scheduler | [IScheduler](# | Scheduler to invoke the original action on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action or scheduler is null. |
49. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7> action)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the default scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
TArg6 | The type of the sixth argument passed to the action. |
TArg7 | The type of the seventh argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action is null. |
50. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7> action, IScheduler scheduler)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
TArg6 | The type of the sixth argument passed to the action. |
TArg7 | The type of the seventh argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
scheduler | [IScheduler](# | Scheduler to invoke the original action on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action or scheduler is null. |
51. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8> action)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the default scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
TArg6 | The type of the sixth argument passed to the action. |
TArg7 | The type of the seventh argument passed to the action. |
TArg8 | The type of the eighth argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action is null. |
52. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8> action, IScheduler scheduler)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
TArg6 | The type of the sixth argument passed to the action. |
TArg7 | The type of the seventh argument passed to the action. |
TArg8 | The type of the eighth argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
scheduler | [IScheduler](# | Scheduler to invoke the original action on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action or scheduler is null. |
53. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9> action)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the default scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
TArg6 | The type of the sixth argument passed to the action. |
TArg7 | The type of the seventh argument passed to the action. |
TArg8 | The type of the eighth argument passed to the action. |
TArg9 | The type of the ninth argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action is null. |
54. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9> action, IScheduler scheduler)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
TArg6 | The type of the sixth argument passed to the action. |
TArg7 | The type of the seventh argument passed to the action. |
TArg8 | The type of the eighth argument passed to the action. |
TArg9 | The type of the ninth argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
scheduler | [IScheduler](# | Scheduler to invoke the original action on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action or scheduler is null. |
55. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10> action)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the default scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
TArg6 | The type of the sixth argument passed to the action. |
TArg7 | The type of the seventh argument passed to the action. |
TArg8 | The type of the eighth argument passed to the action. |
TArg9 | The type of the ninth argument passed to the action. |
TArg10 | The type of the tenth argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action is null. |
56. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10> action, IScheduler scheduler)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
TArg6 | The type of the sixth argument passed to the action. |
TArg7 | The type of the seventh argument passed to the action. |
TArg8 | The type of the eighth argument passed to the action. |
TArg9 | The type of the ninth argument passed to the action. |
TArg10 | The type of the tenth argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
scheduler | [IScheduler](# | Scheduler to invoke the original action on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action or scheduler is null. |
57. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11> action)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the default scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
TArg6 | The type of the sixth argument passed to the action. |
TArg7 | The type of the seventh argument passed to the action. |
TArg8 | The type of the eighth argument passed to the action. |
TArg9 | The type of the ninth argument passed to the action. |
TArg10 | The type of the tenth argument passed to the action. |
TArg11 | The type of the eleventh argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action is null. |
58. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11> action, IScheduler scheduler)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
TArg6 | The type of the sixth argument passed to the action. |
TArg7 | The type of the seventh argument passed to the action. |
TArg8 | The type of the eighth argument passed to the action. |
TArg9 | The type of the ninth argument passed to the action. |
TArg10 | The type of the tenth argument passed to the action. |
TArg11 | The type of the eleventh argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
scheduler | [IScheduler](# | Scheduler to invoke the original action on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action or scheduler is null. |
59. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12> action)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the default scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
TArg6 | The type of the sixth argument passed to the action. |
TArg7 | The type of the seventh argument passed to the action. |
TArg8 | The type of the eighth argument passed to the action. |
TArg9 | The type of the ninth argument passed to the action. |
TArg10 | The type of the tenth argument passed to the action. |
TArg11 | The type of the eleventh argument passed to the action. |
TArg12 | The type of the twelfth argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action is null. |
60. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12> action, IScheduler scheduler)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
TArg6 | The type of the sixth argument passed to the action. |
TArg7 | The type of the seventh argument passed to the action. |
TArg8 | The type of the eighth argument passed to the action. |
TArg9 | The type of the ninth argument passed to the action. |
TArg10 | The type of the tenth argument passed to the action. |
TArg11 | The type of the eleventh argument passed to the action. |
TArg12 | The type of the twelfth argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
scheduler | [IScheduler](# | Scheduler to invoke the original action on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action or scheduler is null. |
61. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13> action)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the default scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
TArg6 | The type of the sixth argument passed to the action. |
TArg7 | The type of the seventh argument passed to the action. |
TArg8 | The type of the eighth argument passed to the action. |
TArg9 | The type of the ninth argument passed to the action. |
TArg10 | The type of the tenth argument passed to the action. |
TArg11 | The type of the eleventh argument passed to the action. |
TArg12 | The type of the twelfth argument passed to the action. |
TArg13 | The type of the thirteenth argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action is null. |
62. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13> action, IScheduler scheduler)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
TArg6 | The type of the sixth argument passed to the action. |
TArg7 | The type of the seventh argument passed to the action. |
TArg8 | The type of the eighth argument passed to the action. |
TArg9 | The type of the ninth argument passed to the action. |
TArg10 | The type of the tenth argument passed to the action. |
TArg11 | The type of the eleventh argument passed to the action. |
TArg12 | The type of the twelfth argument passed to the action. |
TArg13 | The type of the thirteenth argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
scheduler | [IScheduler](# | Scheduler to invoke the original action on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action or scheduler is null. |
63. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14> action)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the default scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
TArg6 | The type of the sixth argument passed to the action. |
TArg7 | The type of the seventh argument passed to the action. |
TArg8 | The type of the eighth argument passed to the action. |
TArg9 | The type of the ninth argument passed to the action. |
TArg10 | The type of the tenth argument passed to the action. |
TArg11 | The type of the eleventh argument passed to the action. |
TArg12 | The type of the twelfth argument passed to the action. |
TArg13 | The type of the thirteenth argument passed to the action. |
TArg14 | The type of the fourteenth argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action is null. |
64. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14> action, IScheduler scheduler)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
TArg6 | The type of the sixth argument passed to the action. |
TArg7 | The type of the seventh argument passed to the action. |
TArg8 | The type of the eighth argument passed to the action. |
TArg9 | The type of the ninth argument passed to the action. |
TArg10 | The type of the tenth argument passed to the action. |
TArg11 | The type of the eleventh argument passed to the action. |
TArg12 | The type of the twelfth argument passed to the action. |
TArg13 | The type of the thirteenth argument passed to the action. |
TArg14 | The type of the fourteenth argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
scheduler | [IScheduler](# | Scheduler to invoke the original action on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action or scheduler is null. |
65. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15> action)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the default scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
TArg6 | The type of the sixth argument passed to the action. |
TArg7 | The type of the seventh argument passed to the action. |
TArg8 | The type of the eighth argument passed to the action. |
TArg9 | The type of the ninth argument passed to the action. |
TArg10 | The type of the tenth argument passed to the action. |
TArg11 | The type of the eleventh argument passed to the action. |
TArg12 | The type of the twelfth argument passed to the action. |
TArg13 | The type of the thirteenth argument passed to the action. |
TArg14 | The type of the fourteenth argument passed to the action. |
TArg15 | The type of the fifteenth argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action is null. |
66. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15> action, IScheduler scheduler)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
TArg6 | The type of the sixth argument passed to the action. |
TArg7 | The type of the seventh argument passed to the action. |
TArg8 | The type of the eighth argument passed to the action. |
TArg9 | The type of the ninth argument passed to the action. |
TArg10 | The type of the tenth argument passed to the action. |
TArg11 | The type of the eleventh argument passed to the action. |
TArg12 | The type of the twelfth argument passed to the action. |
TArg13 | The type of the thirteenth argument passed to the action. |
TArg14 | The type of the fourteenth argument passed to the action. |
TArg15 | The type of the fifteenth argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
scheduler | [IScheduler](# | Scheduler to invoke the original action on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action or scheduler is null. |
67. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16> action)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the default scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
TArg6 | The type of the sixth argument passed to the action. |
TArg7 | The type of the seventh argument passed to the action. |
TArg8 | The type of the eighth argument passed to the action. |
TArg9 | The type of the ninth argument passed to the action. |
TArg10 | The type of the tenth argument passed to the action. |
TArg11 | The type of the eleventh argument passed to the action. |
TArg12 | The type of the twelfth argument passed to the action. |
TArg13 | The type of the thirteenth argument passed to the action. |
TArg14 | The type of the fourteenth argument passed to the action. |
TArg15 | The type of the fifteenth argument passed to the action. |
TArg16 | The type of the sixteenth argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action is null. |
68. Overload¶
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16, IObservable<Unit>> ToAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16>(this Action<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TArg16> action, IScheduler scheduler)
Summary: Converts the function into an asynchronous action. Each invocation of the resulting asynchronous action causes an invocation of the original synchronous action on the specified scheduler.
Type parameters
| Name | Description |
|---|---|
TArg1 | The type of the first argument passed to the action. |
TArg2 | The type of the second argument passed to the action. |
TArg3 | The type of the third argument passed to the action. |
TArg4 | The type of the fourth argument passed to the action. |
TArg5 | The type of the fifth argument passed to the action. |
TArg6 | The type of the sixth argument passed to the action. |
TArg7 | The type of the seventh argument passed to the action. |
TArg8 | The type of the eighth argument passed to the action. |
TArg9 | The type of the ninth argument passed to the action. |
TArg10 | The type of the tenth argument passed to the action. |
TArg11 | The type of the eleventh argument passed to the action. |
TArg12 | The type of the twelfth argument passed to the action. |
TArg13 | The type of the thirteenth argument passed to the action. |
TArg14 | The type of the fourteenth argument passed to the action. |
TArg15 | The type of the fifteenth argument passed to the action. |
TArg16 | The type of the sixteenth argument passed to the action. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | Action to convert to an asynchronous action. |
scheduler | [IScheduler](# | Scheduler to invoke the original action on. |
Returns: Func
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | action or scheduler is null. |