RSDCohortAssignmentStep
public protocol RSDCohortAssignmentStep : RSDStep
RSDCohortAssignmentStep evaluates a task result and returns the cohorts to apply for a given
result.
-
Evaluate the task result and return the set of cohorts to add and remove.
Declaration
Swift
func cohortsToApply(with result: RSDTaskResult) -> (add: Set<String>, remove: Set<String>)?Parameters
resultThe task result to evaluate.
Return Value
The cohorts to add/remove or
nilif no rules apply.
View on GitHub
RSDCohortAssignmentStep Protocol Reference