Closed src-of-truth[bot] closed 4 years ago
In component update functions you don't want the library user to send because it causes a race condition (caught and thrown by a mutex). Make it so a Transmitter can do all the wiring stuff and can send, but a LockedTransmitter https://github.com/schell/mogwai/blob/881b30f54d96dcc4900313a99bc74db1d15bc697/mogwai/src/txrx.rs#L43-L49
send
Closed in commit 881b30f54d96dcc4900313a99bc74db1d15bc697 by @schell
In component update functions you don't want the library user to
send
because it causes a race condition (caught and thrown by a mutex). Make it so a Transmitter can do all the wiring stuff and can send, but a LockedTransmitter https://github.com/schell/mogwai/blob/881b30f54d96dcc4900313a99bc74db1d15bc697/mogwai/src/txrx.rs#L43-L49