saveAndReloadArtifact

suspend override fun saveAndReloadArtifact(sessionKey: SessionKey, filename: String, artifact: Part): Part

Saves an artifact and returns it with fileData if available.

Return

the saved artifact with fileData if available.

Parameters

sessionKey

identifies the user and session the operation is scoped to.

filename

the artifact filename; a user: prefix addresses the user scope instead.

artifact

the artifact to save