Platform
Value members
Inherited methods
Adds a shutdown hook that executes the specified action on shutdown.
Adds a shutdown hook that executes the specified action on shutdown.
- Inherited from:
- PlatformSpecific
Adds a signal handler for the specified signal (e.g. "INFO"). This method never fails even if adding the handler fails.
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).
- Inherited from:
- PlatformSpecific
Exits the application with the specified exit code.
Exits the application with the specified exit code.
- Inherited from:
- PlatformSpecific
Returns the name of the thread group to which this thread belongs. This is a side-effecting method.
Returns the name of the thread group to which this thread belongs. This is a side-effecting method.
- Inherited from:
- PlatformSpecific
Inherited fields
Returns whether the current platform is ScalaJS.
Returns whether the current platform is ScalaJS.
- Inherited from:
- PlatformSpecific
Returns whether the currently platform is the JVM.
Returns whether the currently platform is the JVM.
- Inherited from:
- PlatformSpecific