Open Masstronaut opened 6 years ago
slot_map is an excellent solution for storing the callbacks as it generates a unique ID which can be used to remove the callback later if the event arena outlives the listener
slot_map is an excellent solution for storing the callbacks as it generates a unique ID which can be used to remove the callback later if the event arena outlives the listener