chat-channel-list-controller.observable-object-properties
controller
The underlying controller. You can still access it and call methods on it.
public let controller: ChatChannelListController
channels
The channels matching the query.
@Published public private(set) var channels: LazyCachedMapCollection<ChatChannel> = []
state
The current state of the Controller.
@Published public private(set) var state: DataController.State
Methods
controller(_:didChangeChannels:)
public func controller(
_ controller: ChatChannelListController,
didChangeChannels changes: [ListChange<ChatChannel>]
)
controller(_:didChangeState:)
public func controller(_ controller: DataController, didChangeState state: DataController.State)