DecodeBytesInterpreter
object DecodeBytesInterpreter
Type members
Types
Value members
Concrete methods
def runProgramCancellably[F[_], A](readBytes: Int => F[Chunk[Byte]], program: DecodeBytes[A])(using F: MonadCancel[F, _])(using Make[F]): F[Either[ParseError, A]]
Run a DecodeBytes in such a way that a cancellation may take place at any time before a first read completes, and not anywhere else.
Run a DecodeBytes in such a way that a cancellation may take place at any time before a first read completes, and not anywhere else.