Have a helper to retrieve all groups in the registry:
/// Retrieves all groups on the registry.
///
/// ## Example
///
/// ```gleam
/// let assert Ok(registry) = chip.start()
///
/// let assert [_group, ..groups] = chip.groups(registry)
/// ```
pub fn groups(registry: Registry(msg, tag, group)) -> List(group) {
// TODO: May be obtained from ETS directly
todo
}
Have a helper to retrieve all groups in the registry: