Skip to content

Update readme with usage of UseTaskWhenAll#23

Merged
KuraiAndras merged 5 commits intoKuraiAndras:masterfrom
fretje:parallel
Jun 16, 2025
Merged

Update readme with usage of UseTaskWhenAll#23
KuraiAndras merged 5 commits intoKuraiAndras:masterfrom
fretje:parallel

Conversation

@fretje
Copy link
Contributor

@fretje fretje commented Jun 16, 2025

I had a couple more commits left on the parallel branch... you were a bit too fast with merging...

Anyways, here they are.

Thanks for all the swift actions btw!

Copy link
Owner

@KuraiAndras KuraiAndras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also append the changelog, with a new section for 7.0.1

Comment on lines 156 to 160
You can create a weak subscription by using the `SubscribeWeak` method. This subscription uses a `WeakReference` which will let the subscriber to be garbage collected without the need to unsubscribe (although you still can unsubscribe manually). Subscribing methods on `MonoBehavior` instances in Unity3D might result in unexpected behavior, so you should be careful with it.

```c#
courier.SubscribeWeak<MyNotification>(notification => /*...*/);

courier.SubscribeWeak<MyNotification>((notification, cancellation) => /*...*/);
```

### Capturing thread context
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this changed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops mistake... will undo

@fretje
Copy link
Contributor Author

fretje commented Jun 16, 2025

Please also append the changelog, with a new section for 7.0.1

The whole "UseTaskWhenAll" feature goes into 7.0.1?

@KuraiAndras
Copy link
Owner

Please also append the changelog, with a new section for 7.0.1

The whole "UseTaskWhenAll" feature goes into 7.0.1?

No, I have already published 7.0.0. Just the changes in this pr

@fretje fretje changed the title Update readme with use of UseTaskWhenAll Update readme with usage of UseTaskWhenAll Jun 16, 2025
@KuraiAndras
Copy link
Owner

Everything seems okay, can we merge?

@KuraiAndras KuraiAndras merged commit efb599c into KuraiAndras:master Jun 16, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants