Gate

final case
class Gate[A](in: Pat[A], gate: Pat[Boolean]) extends Pattern[A]

A pattern that filters elements on an in input pattern based on a gate predicate. Whenever gate is true, the input element is passed to output, otherwise it is dropped.

trait Serializable
class Pattern[A]
trait Pat[A]
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def expand[T <: Exec[LazyRef(...)]](implicit ctx: Context[T], tx: T): Stream[T, A]
def transform[T <: Exec[LazyRef(...)]](t: Transform)(implicit ctx: Context[T], tx: T): Pat[A]

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product