I am using a StreamBuilder
to build my widget. But database.listDocuments()
only returns a Future
. Is there a way to get a stream of documents which automatically triggers a widget rebuild on a database update just as with Firebase's snapshots()
stream?
Apparently, this functionality is still in beta. It's called Appwrite Realtime. You can find all information about it here.