mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-03-23 05:31:29 +00:00
docs: add documentation and examples for new NetStream state management
This commit is contained in:
1
newsfragments/300.breaking.rst
Normal file
1
newsfragments/300.breaking.rst
Normal file
@ -0,0 +1 @@
|
||||
The `NetStream.state` property is now async and requires `await`. Update any direct state access to use `await stream.state`.
|
||||
1
newsfragments/300.bugfix.rst
Normal file
1
newsfragments/300.bugfix.rst
Normal file
@ -0,0 +1 @@
|
||||
Added proper state management and resource cleanup to `NetStream`, fixing memory leaks and improved error handling.
|
||||
Reference in New Issue
Block a user