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

Source:
package.scala
class Object
trait Matchable
class Any

Type members

Types

private type A

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

Source:
package.scala

Concrete fields

private val io: IO[A]