timelineStreamProvider top-level property
final
Implementation
final timelineStreamProvider =
FutureProvider.family<TimelineStream, String>((ref, roomId) async {
final chat = await ref.watch(chatProvider(roomId).future);
if (chat == null) {
throw RoomNotFound();
}
return chat.timelineStream();
});