object Console extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Console
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val any: ZLayer[Console, Nothing, Console]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val live: Layer[Nothing, Console]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
print(line: ⇒ Any)(implicit trace: Trace): IO[IOException, Unit]
Prints text to the console.
-
def
printError(line: ⇒ Any)(implicit trace: Trace): IO[IOException, Unit]
Prints text to the standard error console.
-
def
printLine(line: ⇒ Any)(implicit trace: Trace): IO[IOException, Unit]
Prints a line of text to the console, including a newline character.
-
def
printLineError(line: ⇒ Any)(implicit trace: Trace): IO[IOException, Unit]
Prints a line of text to the standard error console, including a newline character.
-
def
readLine(prompt: String)(implicit trace: Trace): IO[IOException, String]
Prints the given prompt and then reads a line of input from the console.
Prints the given prompt and then reads a line of input from the console. Fails with an java.io.EOFException when the underlying java.io.Reader returns null.
-
def
readLine(implicit trace: Trace): IO[IOException, String]
Retrieves a line of input from the console.
Retrieves a line of input from the console. Fails with an java.io.EOFException when the underlying java.io.Reader returns null.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- object ConsoleLive extends Console