deepcausality-rs/deep_causality

Remove lifelines in the public API.

Opened this issue · 0 comments

**Is your feature request related to a problem? **

Currently, lifelines in the public API cause problems with Async & Tokio.

Describe the solution you'd like

Remove lifelines in the public API.
Replace references with smart pointers i.e. ARC.

Describe alternatives you've considered

N/A

Additional context

https://users.rust-lang.org/t/tokio-stream-borrow-checker-argument-requires-that-context-is-borrowed-for-static/105957/5