In my main coroutine, I am removing or adding entries from a table depending on user operations. In the background, I\'d like to iterate over the entries in the table. I don
You can safely remove entries while traversing a table but you cannot create new entries, that is, new keys. You can modify the values of existing entries, though. (Removing an entry being a special case of that rule.)