You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
423 B
17 lines
423 B
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(); |
|
} |
|
} |
|
}
|
|
|