TerminalInputEncoderFactory
Creates independently bound input encoders for a host's serialized pipelines.
Session construction calls this twice: one encoder admits ordinary input and one streams bulk input on the writer. Return a fresh instance on each call; those instances can run concurrently and must not share mutable encoding state. Construction must not read modes, emit bytes, start jobs, or retain external I/O.
Functions
Link copied to clipboard
abstract fun create(inputState: TerminalInputState, output: TerminalHostOutput, policy: TerminalInputPolicy): TerminalInputEncoder
Binds an encoder exclusively to the supplied mode source and byte sink.