toDocument

fun <T> Flow<T>.toDocument(f: (T) -> Pair<String, String>): Flow<Document<T>>