Skip to content

Commit

Permalink
Merge pull request #515 from ananttheant/fix/readme-typo
Browse files Browse the repository at this point in the history
Fix typo in README.md
  • Loading branch information
neuecc authored Oct 26, 2023
2 parents cfe509a + 2ccb37c commit 6f5d818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 6f5d818

Please sign in to comment.