tomellm / bread_manager

A small application that takes in CSV data and visualizes it for money management purpuses.
MIT License
0 stars 0 forks source link

add direct actions to `changer::Sender` #1

Closed tomellm closed 5 months ago

tomellm commented 6 months ago

Currently changer::Sender only has the option to return a function that does an action but does not have the option of just doing the action directly so maybe add separate functions that allow for that behaviour.

tomellm commented 5 months ago

Kind of on the way since I needed it for the save records. But is more complicated then expected since there is no good way of having the action that is saved to the Communicator and at the same time ready to be called and start on command.

I think what needs to be done here is to add a mpsc channel where the action caller side can notify the Communicator side that there is a new future to be awaited and at the same time we can also return that new future to the action caller so that it can be viewed in the UI. -> tomellm/bread_manager#5