Starts observing threads, calling the provided callbacks as threads are
added, removed, and renamed. Calls onAdded with all existing threads
right away, so the initial state vs. updates can be managed easily
without worrying about race conditions.
All callbacks are optional, but at least one of them must be provided.
Starts observing threads, calling the provided callbacks as threads are added, removed, and renamed. Calls
onAddedwith all existing threads right away, so the initial state vs. updates can be managed easily without worrying about race conditions. All callbacks are optional, but at least one of them must be provided.