PageRenderTime 353ms CodeModel.GetById 40ms app.highlight 261ms RepoModel.GetById 41ms app.codeStats 1ms

/System.Reactive/System.Reactive.Linq/System.Reactive.Linq.generated.cs

https://github.com/gshackles/mono-reactive
C# | 737 lines | 615 code | 122 blank | 0 comment | 0 complexity | d06992d00cc70a91fb07368655a268ce MD5 | raw file
  1
  2using System;
  3using System.Linq;
  4using System.Reactive;
  5using System.Reactive.Concurrency;
  6using System.Reactive.Subjects;
  7
  8namespace System.Reactive.Linq
  9{
 10	public static partial class Observable
 11	{
 12		
 13
 14		public static Func<T1, IObservable<Unit>> FromAsyncPattern<T1> (Func<T1, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
 15		{
 16			var sub = new Subject<Unit> ();
 17			return (t1) => { begin (t1, (res) => {
 18				try {
 19					end (res);
 20					sub.OnNext (Unit.Default);
 21					sub.OnCompleted ();
 22				} catch (Exception ex) {
 23					sub.OnError (ex);
 24				}
 25				}, sub); return sub; };
 26		}
 27		
 28		public static Func<T1, IObservable<TResult>> FromAsyncPattern<T1, TResult> (Func<T1, AsyncCallback, Object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
 29		{
 30			var sub = new Subject<TResult> ();
 31			return (t1) => { begin (t1, (res) => {
 32				try {
 33					var result = end (res);
 34					sub.OnNext (result);
 35					sub.OnCompleted ();
 36				} catch (Exception ex) {
 37					sub.OnError (ex);
 38				}
 39				}, sub); return sub; };
 40		}
 41		
 42
 43		public static Func<T1, T2, IObservable<Unit>> FromAsyncPattern<T1, T2> (Func<T1, T2, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
 44		{
 45			var sub = new Subject<Unit> ();
 46			return (t1, t2) => { begin (t1, t2, (res) => {
 47				try {
 48					end (res);
 49					sub.OnNext (Unit.Default);
 50					sub.OnCompleted ();
 51				} catch (Exception ex) {
 52					sub.OnError (ex);
 53				}
 54				}, sub); return sub; };
 55		}
 56		
 57		public static Func<T1, T2, IObservable<TResult>> FromAsyncPattern<T1, T2, TResult> (Func<T1, T2, AsyncCallback, Object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
 58		{
 59			var sub = new Subject<TResult> ();
 60			return (t1, t2) => { begin (t1, t2, (res) => {
 61				try {
 62					var result = end (res);
 63					sub.OnNext (result);
 64					sub.OnCompleted ();
 65				} catch (Exception ex) {
 66					sub.OnError (ex);
 67				}
 68				}, sub); return sub; };
 69		}
 70		
 71
 72		public static Func<T1, T2, T3, IObservable<Unit>> FromAsyncPattern<T1, T2, T3> (Func<T1, T2, T3, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
 73		{
 74			var sub = new Subject<Unit> ();
 75			return (t1, t2, t3) => { begin (t1, t2, t3, (res) => {
 76				try {
 77					end (res);
 78					sub.OnNext (Unit.Default);
 79					sub.OnCompleted ();
 80				} catch (Exception ex) {
 81					sub.OnError (ex);
 82				}
 83				}, sub); return sub; };
 84		}
 85		
 86		public static Func<T1, T2, T3, IObservable<TResult>> FromAsyncPattern<T1, T2, T3, TResult> (Func<T1, T2, T3, AsyncCallback, Object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
 87		{
 88			var sub = new Subject<TResult> ();
 89			return (t1, t2, t3) => { begin (t1, t2, t3, (res) => {
 90				try {
 91					var result = end (res);
 92					sub.OnNext (result);
 93					sub.OnCompleted ();
 94				} catch (Exception ex) {
 95					sub.OnError (ex);
 96				}
 97				}, sub); return sub; };
 98		}
 99		
100
101		public static Func<T1, T2, T3, T4, IObservable<Unit>> FromAsyncPattern<T1, T2, T3, T4> (Func<T1, T2, T3, T4, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
102		{
103			var sub = new Subject<Unit> ();
104			return (t1, t2, t3, t4) => { begin (t1, t2, t3, t4, (res) => {
105				try {
106					end (res);
107					sub.OnNext (Unit.Default);
108					sub.OnCompleted ();
109				} catch (Exception ex) {
110					sub.OnError (ex);
111				}
112				}, sub); return sub; };
113		}
114		
115		public static Func<T1, T2, T3, T4, IObservable<TResult>> FromAsyncPattern<T1, T2, T3, T4, TResult> (Func<T1, T2, T3, T4, AsyncCallback, Object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
116		{
117			var sub = new Subject<TResult> ();
118			return (t1, t2, t3, t4) => { begin (t1, t2, t3, t4, (res) => {
119				try {
120					var result = end (res);
121					sub.OnNext (result);
122					sub.OnCompleted ();
123				} catch (Exception ex) {
124					sub.OnError (ex);
125				}
126				}, sub); return sub; };
127		}
128		
129
130		public static Func<T1, T2, T3, T4, T5, IObservable<Unit>> FromAsyncPattern<T1, T2, T3, T4, T5> (Func<T1, T2, T3, T4, T5, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
131		{
132			var sub = new Subject<Unit> ();
133			return (t1, t2, t3, t4, t5) => { begin (t1, t2, t3, t4, t5, (res) => {
134				try {
135					end (res);
136					sub.OnNext (Unit.Default);
137					sub.OnCompleted ();
138				} catch (Exception ex) {
139					sub.OnError (ex);
140				}
141				}, sub); return sub; };
142		}
143		
144		public static Func<T1, T2, T3, T4, T5, IObservable<TResult>> FromAsyncPattern<T1, T2, T3, T4, T5, TResult> (Func<T1, T2, T3, T4, T5, AsyncCallback, Object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
145		{
146			var sub = new Subject<TResult> ();
147			return (t1, t2, t3, t4, t5) => { begin (t1, t2, t3, t4, t5, (res) => {
148				try {
149					var result = end (res);
150					sub.OnNext (result);
151					sub.OnCompleted ();
152				} catch (Exception ex) {
153					sub.OnError (ex);
154				}
155				}, sub); return sub; };
156		}
157		
158
159		public static Func<T1, T2, T3, T4, T5, T6, IObservable<Unit>> FromAsyncPattern<T1, T2, T3, T4, T5, T6> (Func<T1, T2, T3, T4, T5, T6, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
160		{
161			var sub = new Subject<Unit> ();
162			return (t1, t2, t3, t4, t5, t6) => { begin (t1, t2, t3, t4, t5, t6, (res) => {
163				try {
164					end (res);
165					sub.OnNext (Unit.Default);
166					sub.OnCompleted ();
167				} catch (Exception ex) {
168					sub.OnError (ex);
169				}
170				}, sub); return sub; };
171		}
172		
173		public static Func<T1, T2, T3, T4, T5, T6, IObservable<TResult>> FromAsyncPattern<T1, T2, T3, T4, T5, T6, TResult> (Func<T1, T2, T3, T4, T5, T6, AsyncCallback, Object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
174		{
175			var sub = new Subject<TResult> ();
176			return (t1, t2, t3, t4, t5, t6) => { begin (t1, t2, t3, t4, t5, t6, (res) => {
177				try {
178					var result = end (res);
179					sub.OnNext (result);
180					sub.OnCompleted ();
181				} catch (Exception ex) {
182					sub.OnError (ex);
183				}
184				}, sub); return sub; };
185		}
186		
187
188		public static Func<T1, T2, T3, T4, T5, T6, T7, IObservable<Unit>> FromAsyncPattern<T1, T2, T3, T4, T5, T6, T7> (Func<T1, T2, T3, T4, T5, T6, T7, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
189		{
190			var sub = new Subject<Unit> ();
191			return (t1, t2, t3, t4, t5, t6, t7) => { begin (t1, t2, t3, t4, t5, t6, t7, (res) => {
192				try {
193					end (res);
194					sub.OnNext (Unit.Default);
195					sub.OnCompleted ();
196				} catch (Exception ex) {
197					sub.OnError (ex);
198				}
199				}, sub); return sub; };
200		}
201		
202		public static Func<T1, T2, T3, T4, T5, T6, T7, IObservable<TResult>> FromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, TResult> (Func<T1, T2, T3, T4, T5, T6, T7, AsyncCallback, Object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
203		{
204			var sub = new Subject<TResult> ();
205			return (t1, t2, t3, t4, t5, t6, t7) => { begin (t1, t2, t3, t4, t5, t6, t7, (res) => {
206				try {
207					var result = end (res);
208					sub.OnNext (result);
209					sub.OnCompleted ();
210				} catch (Exception ex) {
211					sub.OnError (ex);
212				}
213				}, sub); return sub; };
214		}
215		
216
217		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, IObservable<Unit>> FromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8> (Func<T1, T2, T3, T4, T5, T6, T7, T8, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
218		{
219			var sub = new Subject<Unit> ();
220			return (t1, t2, t3, t4, t5, t6, t7, t8) => { begin (t1, t2, t3, t4, t5, t6, t7, t8, (res) => {
221				try {
222					end (res);
223					sub.OnNext (Unit.Default);
224					sub.OnCompleted ();
225				} catch (Exception ex) {
226					sub.OnError (ex);
227				}
228				}, sub); return sub; };
229		}
230		
231		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, IObservable<TResult>> FromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, TResult> (Func<T1, T2, T3, T4, T5, T6, T7, T8, AsyncCallback, Object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
232		{
233			var sub = new Subject<TResult> ();
234			return (t1, t2, t3, t4, t5, t6, t7, t8) => { begin (t1, t2, t3, t4, t5, t6, t7, t8, (res) => {
235				try {
236					var result = end (res);
237					sub.OnNext (result);
238					sub.OnCompleted ();
239				} catch (Exception ex) {
240					sub.OnError (ex);
241				}
242				}, sub); return sub; };
243		}
244		
245
246		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, IObservable<Unit>> FromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9> (Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
247		{
248			var sub = new Subject<Unit> ();
249			return (t1, t2, t3, t4, t5, t6, t7, t8, t9) => { begin (t1, t2, t3, t4, t5, t6, t7, t8, t9, (res) => {
250				try {
251					end (res);
252					sub.OnNext (Unit.Default);
253					sub.OnCompleted ();
254				} catch (Exception ex) {
255					sub.OnError (ex);
256				}
257				}, sub); return sub; };
258		}
259		
260		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, IObservable<TResult>> FromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult> (Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, AsyncCallback, Object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
261		{
262			var sub = new Subject<TResult> ();
263			return (t1, t2, t3, t4, t5, t6, t7, t8, t9) => { begin (t1, t2, t3, t4, t5, t6, t7, t8, t9, (res) => {
264				try {
265					var result = end (res);
266					sub.OnNext (result);
267					sub.OnCompleted ();
268				} catch (Exception ex) {
269					sub.OnError (ex);
270				}
271				}, sub); return sub; };
272		}
273		
274
275		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, IObservable<Unit>> FromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> (Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
276		{
277			var sub = new Subject<Unit> ();
278			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) => { begin (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, (res) => {
279				try {
280					end (res);
281					sub.OnNext (Unit.Default);
282					sub.OnCompleted ();
283				} catch (Exception ex) {
284					sub.OnError (ex);
285				}
286				}, sub); return sub; };
287		}
288		
289		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, IObservable<TResult>> FromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult> (Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, AsyncCallback, Object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
290		{
291			var sub = new Subject<TResult> ();
292			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) => { begin (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, (res) => {
293				try {
294					var result = end (res);
295					sub.OnNext (result);
296					sub.OnCompleted ();
297				} catch (Exception ex) {
298					sub.OnError (ex);
299				}
300				}, sub); return sub; };
301		}
302		
303
304		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, IObservable<Unit>> FromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> (Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
305		{
306			var sub = new Subject<Unit> ();
307			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) => { begin (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, (res) => {
308				try {
309					end (res);
310					sub.OnNext (Unit.Default);
311					sub.OnCompleted ();
312				} catch (Exception ex) {
313					sub.OnError (ex);
314				}
315				}, sub); return sub; };
316		}
317		
318		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, IObservable<TResult>> FromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult> (Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, AsyncCallback, Object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
319		{
320			var sub = new Subject<TResult> ();
321			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) => { begin (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, (res) => {
322				try {
323					var result = end (res);
324					sub.OnNext (result);
325					sub.OnCompleted ();
326				} catch (Exception ex) {
327					sub.OnError (ex);
328				}
329				}, sub); return sub; };
330		}
331		
332
333		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, IObservable<Unit>> FromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> (Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
334		{
335			var sub = new Subject<Unit> ();
336			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) => { begin (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, (res) => {
337				try {
338					end (res);
339					sub.OnNext (Unit.Default);
340					sub.OnCompleted ();
341				} catch (Exception ex) {
342					sub.OnError (ex);
343				}
344				}, sub); return sub; };
345		}
346		
347		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, IObservable<TResult>> FromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult> (Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, AsyncCallback, Object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
348		{
349			var sub = new Subject<TResult> ();
350			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) => { begin (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, (res) => {
351				try {
352					var result = end (res);
353					sub.OnNext (result);
354					sub.OnCompleted ();
355				} catch (Exception ex) {
356					sub.OnError (ex);
357				}
358				}, sub); return sub; };
359		}
360		
361
362		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, IObservable<Unit>> FromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> (Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
363		{
364			var sub = new Subject<Unit> ();
365			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) => { begin (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, (res) => {
366				try {
367					end (res);
368					sub.OnNext (Unit.Default);
369					sub.OnCompleted ();
370				} catch (Exception ex) {
371					sub.OnError (ex);
372				}
373				}, sub); return sub; };
374		}
375		
376		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, IObservable<TResult>> FromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult> (Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, AsyncCallback, Object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
377		{
378			var sub = new Subject<TResult> ();
379			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) => { begin (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, (res) => {
380				try {
381					var result = end (res);
382					sub.OnNext (result);
383					sub.OnCompleted ();
384				} catch (Exception ex) {
385					sub.OnError (ex);
386				}
387				}, sub); return sub; };
388		}
389		
390
391		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, IObservable<Unit>> FromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> (Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
392		{
393			var sub = new Subject<Unit> ();
394			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) => { begin (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, (res) => {
395				try {
396					end (res);
397					sub.OnNext (Unit.Default);
398					sub.OnCompleted ();
399				} catch (Exception ex) {
400					sub.OnError (ex);
401				}
402				}, sub); return sub; };
403		}
404		
405		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, IObservable<TResult>> FromAsyncPattern<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult> (Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, AsyncCallback, Object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
406		{
407			var sub = new Subject<TResult> ();
408			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) => { begin (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, (res) => {
409				try {
410					var result = end (res);
411					sub.OnNext (result);
412					sub.OnCompleted ();
413				} catch (Exception ex) {
414					sub.OnError (ex);
415				}
416				}, sub); return sub; };
417		}
418		
419
420		public static Func<T1, T2, IObservable<Unit>> ToAsync<T1, T2> (this Action<T1, T2> function)
421		{
422			return (t1, t2) => Start (() => function (t1, t2));
423		}
424		
425		public static Func<T1, T2, IObservable<Unit>> ToAsync<T1, T2> (this Action<T1, T2> function, IScheduler scheduler)
426		{
427			return (t1, t2) => Start (() => function (t1, t2), scheduler);
428		}
429		
430		public static Func<T1, T2, IObservable<TResult>> ToAsync<T1, T2, TResult> (this Func<T1, T2, TResult> function)
431		{
432			return (t1, t2) => Start (() => function (t1, t2));
433		}
434		
435		public static Func<T1, T2, IObservable<TResult>> ToAsync<T1, T2, TResult> (this Func<T1, T2, TResult> function, IScheduler scheduler)
436		{
437			return (t1, t2) => Start (() => function (t1, t2), scheduler);
438		}
439		
440
441		public static Func<T1, T2, T3, IObservable<Unit>> ToAsync<T1, T2, T3> (this Action<T1, T2, T3> function)
442		{
443			return (t1, t2, t3) => Start (() => function (t1, t2, t3));
444		}
445		
446		public static Func<T1, T2, T3, IObservable<Unit>> ToAsync<T1, T2, T3> (this Action<T1, T2, T3> function, IScheduler scheduler)
447		{
448			return (t1, t2, t3) => Start (() => function (t1, t2, t3), scheduler);
449		}
450		
451		public static Func<T1, T2, T3, IObservable<TResult>> ToAsync<T1, T2, T3, TResult> (this Func<T1, T2, T3, TResult> function)
452		{
453			return (t1, t2, t3) => Start (() => function (t1, t2, t3));
454		}
455		
456		public static Func<T1, T2, T3, IObservable<TResult>> ToAsync<T1, T2, T3, TResult> (this Func<T1, T2, T3, TResult> function, IScheduler scheduler)
457		{
458			return (t1, t2, t3) => Start (() => function (t1, t2, t3), scheduler);
459		}
460		
461
462		public static Func<T1, T2, T3, T4, IObservable<Unit>> ToAsync<T1, T2, T3, T4> (this Action<T1, T2, T3, T4> function)
463		{
464			return (t1, t2, t3, t4) => Start (() => function (t1, t2, t3, t4));
465		}
466		
467		public static Func<T1, T2, T3, T4, IObservable<Unit>> ToAsync<T1, T2, T3, T4> (this Action<T1, T2, T3, T4> function, IScheduler scheduler)
468		{
469			return (t1, t2, t3, t4) => Start (() => function (t1, t2, t3, t4), scheduler);
470		}
471		
472		public static Func<T1, T2, T3, T4, IObservable<TResult>> ToAsync<T1, T2, T3, T4, TResult> (this Func<T1, T2, T3, T4, TResult> function)
473		{
474			return (t1, t2, t3, t4) => Start (() => function (t1, t2, t3, t4));
475		}
476		
477		public static Func<T1, T2, T3, T4, IObservable<TResult>> ToAsync<T1, T2, T3, T4, TResult> (this Func<T1, T2, T3, T4, TResult> function, IScheduler scheduler)
478		{
479			return (t1, t2, t3, t4) => Start (() => function (t1, t2, t3, t4), scheduler);
480		}
481		
482
483		public static Func<T1, T2, T3, T4, T5, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5> (this Action<T1, T2, T3, T4, T5> function)
484		{
485			return (t1, t2, t3, t4, t5) => Start (() => function (t1, t2, t3, t4, t5));
486		}
487		
488		public static Func<T1, T2, T3, T4, T5, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5> (this Action<T1, T2, T3, T4, T5> function, IScheduler scheduler)
489		{
490			return (t1, t2, t3, t4, t5) => Start (() => function (t1, t2, t3, t4, t5), scheduler);
491		}
492		
493		public static Func<T1, T2, T3, T4, T5, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, TResult> (this Func<T1, T2, T3, T4, T5, TResult> function)
494		{
495			return (t1, t2, t3, t4, t5) => Start (() => function (t1, t2, t3, t4, t5));
496		}
497		
498		public static Func<T1, T2, T3, T4, T5, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, TResult> (this Func<T1, T2, T3, T4, T5, TResult> function, IScheduler scheduler)
499		{
500			return (t1, t2, t3, t4, t5) => Start (() => function (t1, t2, t3, t4, t5), scheduler);
501		}
502		
503
504		public static Func<T1, T2, T3, T4, T5, T6, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5, T6> (this Action<T1, T2, T3, T4, T5, T6> function)
505		{
506			return (t1, t2, t3, t4, t5, t6) => Start (() => function (t1, t2, t3, t4, t5, t6));
507		}
508		
509		public static Func<T1, T2, T3, T4, T5, T6, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5, T6> (this Action<T1, T2, T3, T4, T5, T6> function, IScheduler scheduler)
510		{
511			return (t1, t2, t3, t4, t5, t6) => Start (() => function (t1, t2, t3, t4, t5, t6), scheduler);
512		}
513		
514		public static Func<T1, T2, T3, T4, T5, T6, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, T6, TResult> (this Func<T1, T2, T3, T4, T5, T6, TResult> function)
515		{
516			return (t1, t2, t3, t4, t5, t6) => Start (() => function (t1, t2, t3, t4, t5, t6));
517		}
518		
519		public static Func<T1, T2, T3, T4, T5, T6, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, T6, TResult> (this Func<T1, T2, T3, T4, T5, T6, TResult> function, IScheduler scheduler)
520		{
521			return (t1, t2, t3, t4, t5, t6) => Start (() => function (t1, t2, t3, t4, t5, t6), scheduler);
522		}
523		
524
525		public static Func<T1, T2, T3, T4, T5, T6, T7, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5, T6, T7> (this Action<T1, T2, T3, T4, T5, T6, T7> function)
526		{
527			return (t1, t2, t3, t4, t5, t6, t7) => Start (() => function (t1, t2, t3, t4, t5, t6, t7));
528		}
529		
530		public static Func<T1, T2, T3, T4, T5, T6, T7, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5, T6, T7> (this Action<T1, T2, T3, T4, T5, T6, T7> function, IScheduler scheduler)
531		{
532			return (t1, t2, t3, t4, t5, t6, t7) => Start (() => function (t1, t2, t3, t4, t5, t6, t7), scheduler);
533		}
534		
535		public static Func<T1, T2, T3, T4, T5, T6, T7, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, T6, T7, TResult> (this Func<T1, T2, T3, T4, T5, T6, T7, TResult> function)
536		{
537			return (t1, t2, t3, t4, t5, t6, t7) => Start (() => function (t1, t2, t3, t4, t5, t6, t7));
538		}
539		
540		public static Func<T1, T2, T3, T4, T5, T6, T7, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, T6, T7, TResult> (this Func<T1, T2, T3, T4, T5, T6, T7, TResult> function, IScheduler scheduler)
541		{
542			return (t1, t2, t3, t4, t5, t6, t7) => Start (() => function (t1, t2, t3, t4, t5, t6, t7), scheduler);
543		}
544		
545
546		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8> (this Action<T1, T2, T3, T4, T5, T6, T7, T8> function)
547		{
548			return (t1, t2, t3, t4, t5, t6, t7, t8) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8));
549		}
550		
551		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8> (this Action<T1, T2, T3, T4, T5, T6, T7, T8> function, IScheduler scheduler)
552		{
553			return (t1, t2, t3, t4, t5, t6, t7, t8) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8), scheduler);
554		}
555		
556		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, TResult> (this Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult> function)
557		{
558			return (t1, t2, t3, t4, t5, t6, t7, t8) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8));
559		}
560		
561		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, TResult> (this Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult> function, IScheduler scheduler)
562		{
563			return (t1, t2, t3, t4, t5, t6, t7, t8) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8), scheduler);
564		}
565		
566
567		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9> (this Action<T1, T2, T3, T4, T5, T6, T7, T8, T9> function)
568		{
569			return (t1, t2, t3, t4, t5, t6, t7, t8, t9) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9));
570		}
571		
572		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9> (this Action<T1, T2, T3, T4, T5, T6, T7, T8, T9> function, IScheduler scheduler)
573		{
574			return (t1, t2, t3, t4, t5, t6, t7, t8, t9) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9), scheduler);
575		}
576		
577		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult> (this Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult> function)
578		{
579			return (t1, t2, t3, t4, t5, t6, t7, t8, t9) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9));
580		}
581		
582		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult> (this Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult> function, IScheduler scheduler)
583		{
584			return (t1, t2, t3, t4, t5, t6, t7, t8, t9) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9), scheduler);
585		}
586		
587
588		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> (this Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> function)
589		{
590			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10));
591		}
592		
593		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> (this Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> function, IScheduler scheduler)
594		{
595			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10), scheduler);
596		}
597		
598		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult> (this Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult> function)
599		{
600			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10));
601		}
602		
603		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult> (this Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult> function, IScheduler scheduler)
604		{
605			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10), scheduler);
606		}
607		
608
609		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> (this Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> function)
610		{
611			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11));
612		}
613		
614		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> (this Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> function, IScheduler scheduler)
615		{
616			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11), scheduler);
617		}
618		
619		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult> (this Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult> function)
620		{
621			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11));
622		}
623		
624		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult> (this Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult> function, IScheduler scheduler)
625		{
626			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11), scheduler);
627		}
628		
629
630		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> (this Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> function)
631		{
632			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12));
633		}
634		
635		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> (this Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> function, IScheduler scheduler)
636		{
637			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12), scheduler);
638		}
639		
640		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult> (this Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult> function)
641		{
642			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12));
643		}
644		
645		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult> (this Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult> function, IScheduler scheduler)
646		{
647			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12), scheduler);
648		}
649		
650
651		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> (this Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> function)
652		{
653			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13));
654		}
655		
656		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> (this Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> function, IScheduler scheduler)
657		{
658			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13), scheduler);
659		}
660		
661		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult> (this Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult> function)
662		{
663			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13));
664		}
665		
666		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult> (this Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult> function, IScheduler scheduler)
667		{
668			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13), scheduler);
669		}
670		
671
672		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> (this Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> function)
673		{
674			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14));
675		}
676		
677		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> (this Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> function, IScheduler scheduler)
678		{
679			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14), scheduler);
680		}
681		
682		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult> (this Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult> function)
683		{
684			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14));
685		}
686		
687		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult> (this Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult> function, IScheduler scheduler)
688		{
689			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14), scheduler);
690		}
691		
692
693		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> (this Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> function)
694		{
695			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15));
696		}
697		
698		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> (this Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> function, IScheduler scheduler)
699		{
700			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15), scheduler);
701		}
702		
703		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult> (this Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult> function)
704		{
705			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15));
706		}
707		
708		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult> (this Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult> function, IScheduler scheduler)
709		{
710			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15), scheduler);
711		}
712		
713
714		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> (this Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> function)
715		{
716			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16));
717		}
718		
719		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, IObservable<Unit>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> (this Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> function, IScheduler scheduler)
720		{
721			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16), scheduler);
722		}
723		
724		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult> (this Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult> function)
725		{
726			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16));
727		}
728		
729		public static Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, IObservable<TResult>> ToAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult> (this Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult> function, IScheduler scheduler)
730		{
731			return (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) => Start (() => function (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16), scheduler);
732		}
733		
734
735	}
736}
737