saveAndReloadArtifact

open 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 session that owns the artifact.

filename

the artifact filename within the session.

artifact

the artifact to save