ezmsg-org / ezmsg

Pure-Python DAG-based high-performance SHM-backed pub-sub and multi-processing pattern
https://ezmsg.readthedocs.io/en/latest/
MIT License
9 stars 5 forks source link

Support async initialize and shutdown of units. #31

Closed pperanich closed 1 year ago

pperanich commented 1 year ago

These changes add the ability to define either initialize or shutdown as an async method. This is particularly useful in setting up async StreamReaders/StreamWriters in units that utilize sockets connecting to external applications.