prepare

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.