Skip to content

Conversation

@san-tekart
Copy link
Collaborator

  • Add weak reference support via weak=True in signal connections
  • Add one-shot connections via one_shot=True that auto-disconnect after first emit
  • Improve thread safety with internal connection locking
  • Add extensive documentation for all public APIs
  • Add new tests for weak references and one-shot functionality
  • Update examples and documentation to demonstrate new features

This commit introduces two major features:

  1. Weak reference support allows receivers to be garbage collected
  2. One-shot connections automatically disconnect after first successful emit

The changes also include significant documentation improvements and additional test coverage.

- Add weak reference support via weak=True in signal connections
- Add one-shot connections via one_shot=True that auto-disconnect after
  first emit
- Improve thread safety with internal connection locking
- Add extensive documentation for all public APIs
- Add new tests for weak references and one-shot functionality
- Update examples and documentation to demonstrate new features

This commit introduces two major features:
1. Weak reference support allows receivers to be garbage collected
2. One-shot connections automatically disconnect after first successful emit

The changes also include significant documentation improvements and additional test coverage.
@san-tekart san-tekart self-assigned this Dec 21, 2024
@san-tekart san-tekart merged commit 8d9e703 into main Dec 21, 2024
3 checks passed
@san-tekart san-tekart deleted the weakref branch December 21, 2024 07:28
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