objectsOfTypeFlow

abstract fun objectsOfTypeFlow(type: String, after: NodeRef? = null): Flow<NodeRef>(source)

Every object of type in (docId, nodePre) order, strictly after after when it's given, as a flow. Each collection reads one new snapshot on the store's dispatcher and holds it until the collection ends, so what one collection emits is consistent: the objects of the type as the operations acknowledged before it started left them. Throws InvalidTypeNameException for an invalid name, when collecting.