cats.effect.unsafe

Members list

Type members

Classlikes

final class IORuntime

Attributes

Companion
object
Source
IORuntime.scala
Supertypes
class Object
trait Matchable
class Any
object IORuntime

Attributes

Companion
class
Source
IORuntime.scala
Supertypes
class Object
trait Matchable
class Any
Self type
IORuntime.type
final class IORuntimeBuilder

Builder object for creating custom IORuntimes.

Builder object for creating custom IORuntimes. Useful for creating IORuntime based on the default one but with some wrappers around execution contexts or custom shutdown hooks.

Attributes

Companion
object
Source
IORuntimeBuilder.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Source
IORuntimeBuilder.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class IORuntimeConfig

Attributes

Companion
object
Source
IORuntimeConfig.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
IORuntimeConfig.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
abstract class PollingSystem

Represents a stateful system for managing and interacting with a polling system.

Represents a stateful system for managing and interacting with a polling system. Polling systems are typically used in scenarios such as handling multiplexed blocking I/O or other event-driven systems, where one needs to repeatedly check (or "poll") some condition or state, blocking up to some timeout until it is ready.

This class abstracts the general components and actions of a polling system, such as:

  • The user-facing interface (API) which interacts with the outside world

  • The thread-local data structure used for polling, which keeps track of the internal state of the system and its events

  • The lifecycle management methods, such as creating and closing the polling system and its components

  • The runtime interaction methods, such as polling events and interrupting the process

Attributes

Source
PollingSystem.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object SleepSystem.type
trait Scheduler

Attributes

Companion
object
Source
Scheduler.scala
Supertypes
class Object
trait Matchable
class Any
object Scheduler

Attributes

Companion
trait
Source
Scheduler.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Scheduler.type
final class SelectorSystem extends PollingSystem

Attributes

Companion
object
Source
SelectorSystem.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Source
SelectorSystem.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object SleepSystem extends PollingSystem

Attributes

Source
SleepSystem.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object implicits

Attributes

Source
implicits.scala
Supertypes
class Object
trait Matchable
class Any
Self type
implicits.type