Noop

object Noop : Source<Processor>

Convenience implementation of Source which does nothing when a Processor is provided to be attached.

Functions

attach
Link copied to clipboard
open override fun attach(processor: Processor): Closeable
Attaches the provided processor and returns a Closeable to release the connection once required.
get
Link copied to clipboard
fun <P : Processor> get(): Source<P>
Provides a generic Source which does nothing.