Buffer uses IO.succeed when sync should be used
LGLO opened this issue · comments
Actions like final def limit: IO[Nothing, Int] = IO.succeed(buffer.limit)
wrap mutable value during creation of IO
. IO.successful
should not be used to wrap mutable state of underlying Java buffer.