You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
# AsyncAwaitBestPractices
2
2
3
-
Extensions for `System.Threading.Tasks.Task`:
3
+
Extensions for `System.Threading.Tasks.Task`, inspired by [John Thiriet](https://github.com/johnthiriet)'s blog posts: [Removing Async Void](https://johnthiriet.com/removing-async-void/) and [MVVM - Going Async With AsyncCommand](https://johnthiriet.com/mvvm-going-async-with-async-command/).
4
+
5
+
4
6
- AsyncAwaitBestPractices
5
7
- Contains `SafeFireAndForget`, an extension method to safely fire-and-forget a `Task`
@@ -21,7 +23,8 @@ Extensions for `System.Threading.Tasks.Task`:
21
23
## Usage
22
24
23
25
### AsyncAwaitBestPractices
24
-
An extension method to safely fire-and-forget a Task
26
+
27
+
Contains `SafeFireAndForget`, an extension method to safely fire-and-forget a `Task`
25
28
26
29
```csharp
27
30
voidHandleButtonTapped(objectsender, EventArgse)
@@ -40,7 +43,8 @@ async Task ExampleAsyncMethod()
40
43
```
41
44
42
45
### AsyncAwaitBestPractices.MVVM
43
-
Includes AsyncCommand and IAsyncCommand which allows ICommand to safely be used asynchronously with Task
46
+
47
+
Contains `AsyncCommand<T> : IAsyncCommand`, `AsyncCommand : IAsyncCommand` and `IAsyncCommand : ICommand`, which allow for `Task` to safely be used asynchronously with `ICommand`
0 commit comments