From 2ccb37cb02ccc860844caf2c85bebccbc35a8a9f Mon Sep 17 00:00:00 2001 From: Anant Sharma <10895811+ananttheant@users.noreply.github.com> Date: Wed, 25 Oct 2023 15:24:27 +0100 Subject: [PATCH] Fix typo in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a27a629..487aec0 100644 --- a/README.md +++ b/README.md @@ -295,7 +295,7 @@ public class MyBehaviour : MonoBehaviour When cancellation is detected, all methods throw `OperationCanceledException` and propagate upstream. When exception(not limited to `OperationCanceledException`) is not handled in async method, it is propagated finally to `UniTaskScheduler.UnobservedTaskException`. The default behaviour of received unhandled exception is to write log as exception. Log level can be changed using `UniTaskScheduler.UnobservedExceptionWriteLogType`. If you want to use custom behaviour, set an action to `UniTaskScheduler.UnobservedTaskException.` -Andalso `OperationCanceledException` is a special exception, this is silently ignored at `UnobservedTaskException`. +And also `OperationCanceledException` is a special exception, this is silently ignored at `UnobservedTaskException`. If you want to cancel behaviour in an async UniTask method, throw `OperationCanceledException` manually.