flucto-gmbh / heisskleber

MIT License
0 stars 1 forks source link

Refactor/background tasks #75

Closed pacjac closed 6 months ago

pacjac commented 7 months ago

No longer implicitly starting threads and tasks when instantiating objects. Instead, start() and stop() functions are added to the source and sink baseclasses to ensure more fine control over behaviour and lifetime of background loops.

To maintain backwards compability and ease of use, start() is lazily run when invoking send() or receive() function, respectively.

Should be end to end tested before merging.

pacjac commented 6 months ago

Closes #61, #64, #69.