Companion

object Companion

Functions

Link copied to clipboard
fun <R : CPGRequestResource<*>, E : CPGEventResource<*>> initiate(repository: Repository, inputPhase: Phase, inputEvent: E): Result<PerformPhase<E>>
Link copied to clipboard
fun <R : CPGRequestResource<*>, E : CPGEventResource<*>> prepare(eventClass: Class<*>, inputPhase: Phase): Result<E>

Creates a draft event of type E based on the state of the provided inputPhase. See beginPerform for more details.