Source

interface Source<P : Processor>

Defines a provider of generic inputs that a Processor of type P can be attached to process over.

Types

Noop
Link copied to clipboard
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
abstract fun attach(processor: P): Closeable
Attaches the provided processor and returns a Closeable to release the connection once required.

Inheritors

Source
Link copied to clipboard