From 4a89e3ea86cf1f36754847ee1c11bdbc86d43919 Mon Sep 17 00:00:00 2001 From: neuecc Date: Sat, 4 Jul 2020 06:44:57 +0900 Subject: [PATCH] r --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 95a859e..de9f4db 100644 --- a/README.md +++ b/README.md @@ -536,7 +536,7 @@ How to create async iterator, C# 8.0 supports async iterator(`async yield return ```csharp // IAsyncEnumerable, C# 8.0 version of async iterator. ( do not use this style, IAsyncEnumerable is not controled in UniTask). -public async IAsyncEnumerable MyEveryUpdate([EnumeratorCancellation]CancellationToken cancelationToken) +public async IAsyncEnumerable MyEveryUpdate([EnumeratorCancellation]CancellationToken cancelationToken = default) { var frameCount = 0; await UniTask.Yield();