Packmatic.Source.read

You're seeing just the callback read, go back to Packmatic.Source module for more information.

Specs

read(state()) :: iodata() | {iodata(), state()} | :eof | {:error, term()}

Iterates the Source State.

Usually this will return an IO List, or {:error, reason}. For stateful Sources, an updated Source State can be returned with the data. Note that Sources that have returned :eof or {:error, reason} will not be touched again.