1234567891011121314151617 |
- using System;
- namespace UniRx
- {
- public static partial class Observable
- {
- public static T Wait<T>(this IObservable<T> source)
- {
- return new UniRx.Operators.Wait<T>(source, InfiniteTimeSpan).Run();
- }
- public static T Wait<T>(this IObservable<T> source, TimeSpan timeout)
- {
- return new UniRx.Operators.Wait<T>(source, timeout).Run();
- }
- }
- }
|