Skip to content

Document weak event publication behavior - #31

Merged
Seramis merged 1 commit into
mainfrom
docs/weak-event-publication
Nov 22, 2026
Merged

Seramis merged 1 commit into
mainfrom
docs/weak-event-publication

Conversation

@Seramis

@Seramis Seramis commented Nov 22, 2026

Copy link
Copy Markdown
Member

Description

Updates the README and package documentation to describe the weak event publication contract:

  • Subscribers execute sequentially in subscription order.
  • Publishing uses a subscriber snapshot.
  • Cancellation is checked before each subscriber.
  • Static and instance handlers remain subject to the weak event lifetime rules.
  • Synchronous and asynchronous exceptions propagate appropriately.
  • Multicast delegates subscribe and unsubscribe individual invocations.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Other (please specify):

Checklist

  • The PR is submitted to the correct branch (main).
  • My code follows the project's coding style. (.editorconfig)
  • I have commented my code, particularly in hard-to-understand areas and public interfaces.
  • I have added or updated tests for the changes I made.
  • All new and existing tests passed.
  • I have updated the documentation where applicable.

Testing Instructions

  1. Review the publication behavior in README.md.
  2. Review the API documentation in WeakEvent/PACKAGE.md.
  3. Confirm each description matches the implementation.

@Seramis Seramis self-assigned this Nov 22, 2026
@Seramis Seramis added the documentation Improvements or additions to documentation label Nov 22, 2026
@Seramis
Seramis merged commit a1ed940 into main Nov 22, 2026
@Seramis
Seramis deleted the docs/weak-event-publication branch November 22, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant