supply-next-0.0.1.2: Supply-chain interface for basic streaming
Safe HaskellSafe-Inferred
LanguageGHC2021

Next.Producer.Type

Synopsis

Type aliases

type Producer action item = Vendor (Const Void) (Next item) action Source #

A Vendor whose upstream interface is nothing and whose downstream interface is Next

type ProducerPlus up action item = Vendor up (Next item) action Source #

A Vendor whose downstream interface is Next

This type is like Producer except that it has an extra type parameter representing the upstream interface, hence its name is "producer plus".