IODebugOps

implicit class IODebugOps[A](io: IO[A])

Implicit extension methods for IO instances

Type parameters:
A

Type wrapped in IO

Value parameters:
io

An effectful piece of information

class Object
trait Matchable
class Any

Value members

Concrete methods

def debug: IO[A]

Print the given IO to console along with its executing thread, then return the same input value. Used for debugging purposes.

Print the given IO to console along with its executing thread, then return the same input value. Used for debugging purposes.

Returns:

An IO identical to the input one