3 ms·
I always have mixed feeling about having mut self in the handler. On one end its nice to avoid locking the inner state, but it does prevent processing of messag
by Sytten 4y ago
I always have mixed feeling about having mut self in the handler. On one end its nice to avoid locking the inner state, but it does prevent processing of messages concurrently. This is annoying in many cases where you want for example a central state bound to an IO call.