writeGeneration

abstract fun writeGeneration(generationId: String, feedBytes: ByteArray, assets: List<WidgetAsset>, keepPrevious: Int)(source)

Writes a complete generation, promotes it atomically, updates the pointer, prunes to keepPrevious old ones.