mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-06-01 08:48:46 +02:00
ef4c5eb65e
Please note we have force-pushed a new initial commit in order to remove some publicly-available Twitter user information. Note that this process may be required in the future.
14 lines
535 B
Scala
14 lines
535 B
Scala
package com.twitter.product_mixer.core.pipeline.state
|
|
|
|
import com.twitter.product_mixer.core.model.common.identifier.PipelineStepIdentifier
|
|
import com.twitter.product_mixer.core.service.ExecutorResult
|
|
import scala.collection.immutable.ListMap
|
|
|
|
trait HasExecutorResults[State] {
|
|
// We use a list map to maintain the insertion order
|
|
val executorResultsByPipelineStep: ListMap[PipelineStepIdentifier, ExecutorResult]
|
|
private[pipeline] def setExecutorResults(
|
|
newMap: ListMap[PipelineStepIdentifier, ExecutorResult]
|
|
): State
|
|
}
|