All Downloads are FREE. Search and download functionalities are using the official Maven repository.

backbone.consumer.Limitation.scala Maven / Gradle / Ivy

package backbone.consumer

import akka.NotUsed
import akka.stream.{FlowShape, Graph}

/** Defines an interface for limiting the consumption of elements of type T
 *
 */
trait Limitation {

  def limit[T]: Graph[FlowShape[T, T], NotUsed]

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy