package com.correx.core.artifactstore

import com.correx.core.events.types.ArtifactId

interface ArtifactStore {
    suspend fun put(bytes: ByteArray): ArtifactId
    suspend fun get(id: ArtifactId): ByteArray?
    suspend fun flushBefore(commit: suspend () -> Unit)
}
