cats.effect.unsafe.SelectorSystem
See theSelectorSystem companion object
Attributes
- Companion:
- object
- Source:
- SelectorSystem.scala
- Graph
- Supertypes
Members list
Concise view
Type members
Classlikes
The user-facing interface.
The thread-local data structure used for polling.
The thread-local data structure used for polling.
Attributes
- Source:
- SelectorSystem.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Value members
Concrete methods
Attributes
- Source:
- SelectorSystem.scala
Attributes
- Source:
- SelectorSystem.scala
Attributes
- Source:
- SelectorSystem.scala
Attributes
- Source:
- SelectorSystem.scala
Attributes
- Returns:
whether poll should be called again (i.e., there are more events to be polled)
- Source:
- SelectorSystem.scala
Attributes
- nanos
the maximum duration for which to block, where
nanos == -1
indicates to block indefinitely. ''However'', ifnanos == -1
and there are no remaining events to poll for, this method should returnfalse
immediately. This is unfortunate but necessary so that theEventLoop
can yield to the Scala Native globalExecutionContext
which is currently hard-coded into every test framework, including MUnit, specs2, and Weaver.- Returns:
whether any events were polled
- Source:
- SelectorSystem.scala