maikel / senders-io

An adaption of Senders/Receivers for async networking and I/O
Apache License 2.0
14 stars 2 forks source link

Rework async_allocator #45

Open maikel opened 1 year ago

maikel commented 1 year ago

I've discussed the async_allocator with kirk and its probably better to not give out senders to raw memory allocation but instead to async_new and async_delete which does both, allocation/construction and deallocation/destroy.

maikel commented 1 year ago

We could also use some kind of memory handle to automatically delete the constructed object upon leaving an using-scope