IO

ox.IO
See theIO companion class
object IO

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
IO.type

Members list

Type members

Classlikes

When imported using import ox.IO.globalForTesting.given, grants the IO capability globally within the scope of the import. Designed to be used in tests.

When imported using import ox.IO.globalForTesting.given, grants the IO capability globally within the scope of the import. Designed to be used in tests.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

inline def unsafe[T](f: IO ?=> T): T

Grants the IO capability when executing the given block of code. Ideally should only be used:

Grants the IO capability when executing the given block of code. Ideally should only be used:

  • at the edges of your application (e.g. in the main method)
  • when integrating with third-party libraries

In tests, use globalForTesting.

Attributes