object Platform extends PlatformSpecific
- Alphabetic
- By Inheritance
- Platform
- PlatformSpecific
- AnyRef
- Any
- Hide All
- Show All
- 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
-
final
def
addShutdownHook(action: () ⇒ Unit)(implicit unsafe: Unsafe): Unit
Adds a shutdown hook that executes the specified action on shutdown.
Adds a shutdown hook that executes the specified action on shutdown.
- Definition Classes
- PlatformSpecific
-
final
def
addSignalHandler(signal: String, action: () ⇒ Unit)(implicit unsafe: Unsafe): Unit
Adds a signal handler for the specified signal (e.g.
Adds a signal handler for the specified signal (e.g. "INFO"). This method never fails even if adding the handler fails.
On Scala.js, signal handlers are triggered by changing the hash of the URL to include "zio-signal=INFO" (for the "INFO" signal).
- Definition Classes
- PlatformSpecific
-
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
-
final
def
exit(code: Int)(implicit unsafe: Unsafe): Unit
Exits the application with the specified exit code.
Exits the application with the specified exit code.
- Definition Classes
- PlatformSpecific
-
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()
-
final
def
getCurrentThreadGroup()(implicit unsafe: Unsafe): String
Returns the name of the thread group to which this thread belongs.
Returns the name of the thread group to which this thread belongs. This is a side-effecting method.
- Definition Classes
- PlatformSpecific
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
val
isJS: Boolean(true)
Returns whether the current platform is ScalaJS.
Returns whether the current platform is ScalaJS.
- Definition Classes
- PlatformSpecific
-
final
val
isJVM: Boolean(false)
Returns whether the currently platform is the JVM.
Returns whether the currently platform is the JVM.
- Definition Classes
- PlatformSpecific
-
final
val
isNative: Boolean(false)
Returns whether the currently platform is Scala Native.
Returns whether the currently platform is Scala Native.
- Definition Classes
- PlatformSpecific
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
newConcurrentMap[A, B]()(implicit unsafe: Unsafe): Map[A, B]
- Definition Classes
- PlatformSpecific
-
final
def
newConcurrentSet[A]()(implicit unsafe: Unsafe): Set[A]
- Definition Classes
- PlatformSpecific
-
final
def
newConcurrentWeakSet[A]()(implicit unsafe: Unsafe): Set[A]
- Definition Classes
- PlatformSpecific
-
final
def
newWeakHashMap[A, B]()(implicit unsafe: Unsafe): Map[A, B]
- Definition Classes
- PlatformSpecific
-
final
def
newWeakReference[A](value: A)(implicit unsafe: Unsafe): () ⇒ A
- Definition Classes
- PlatformSpecific
-
final
def
newWeakSet[A]()(implicit unsafe: Unsafe): Set[A]
- Definition Classes
- PlatformSpecific
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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()