Adds a shutdown hook that executes the specified action on shutdown.
Adds a shutdown hook that executes the specified action on shutdown.
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).
Exits the application with the specified exit code.
Exits the application with the specified exit code.
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.
Returns whether the current platform is ScalaJS.
Returns whether the current platform is ScalaJS.
Returns whether the currently platform is the JVM.
Returns whether the currently platform is the JVM.
Returns whether the currently platform is Scala Native.
Returns whether the currently platform is Scala Native.