From f2e7a608729f8195e44f2b6f66548c93d76dcca0 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Thu, 14 Nov 2024 07:36:43 -0500 Subject: [PATCH] Add ObservableMapList:ObserveListsBrio() --- .../src/Shared/ObservableMapList.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/observablecollection/src/Shared/ObservableMapList.lua b/src/observablecollection/src/Shared/ObservableMapList.lua index a6ef417758..9918ce97f7 100644 --- a/src/observablecollection/src/Shared/ObservableMapList.lua +++ b/src/observablecollection/src/Shared/ObservableMapList.lua @@ -336,6 +336,15 @@ function ObservableMapList:ObserveListBrio(key) return self._observableMapOfLists:ObserveAtKeyBrio(key) end +--[=[ + Observes all observable lists in the map. + + @return Observable>> +]=] +function ObservableMapList:ObserveListsBrio() + return self._observableMapOfLists:ObserveValuesBrio() +end + --[=[ Observes the number of entries for the given key