loadArtifact

abstract suspend fun loadArtifact(sessionKey: SessionKey, filename: String, version: Int? = null): Part?

Gets an artifact.

Return

the artifact or null if not found

Parameters

sessionKey

identifies the session that owns the artifact.

filename

the artifact filename within the session.

version

Optional version number. If null, loads the latest version.