diff --git a/src/UniTask/Assets/Plugins/UniTask/Runtime/UniTaskObservableExtensions.cs b/src/UniTask/Assets/Plugins/UniTask/Runtime/UniTaskObservableExtensions.cs index 97ad6de..2f2a1bc 100644 --- a/src/UniTask/Assets/Plugins/UniTask/Runtime/UniTaskObservableExtensions.cs +++ b/src/UniTask/Assets/Plugins/UniTask/Runtime/UniTaskObservableExtensions.cs @@ -9,7 +9,7 @@ namespace Cysharp.Threading.Tasks { public static class UniTaskObservableExtensions { - public static UniTask ToUniTask(this IObservable source, CancellationToken cancellationToken = default(CancellationToken), bool useFirstValue = false) + public static UniTask ToUniTask(this IObservable source, bool useFirstValue = false, CancellationToken cancellationToken = default) { var promise = new UniTaskCompletionSource(); var disposable = new SingleAssignmentDisposable();