4 ms·
You don't need RefCell. You can just use mut variables as long as you keep everything local inside one task. But one task can actually run many things concurren
by pkolaczk 4y ago
You don't need RefCell. You can just use mut variables as long as you keep everything local inside one task. But one task can actually run many things concurrently, unlike a thread, so this is very powerful.