cats.effect.unsafe.SelectorSystem
See theSelectorSystem companion object
Attributes
- Companion:
- object
- Source:
- SelectorSystem.scala
- Graph
- Supertypes
The thread-local data structure used for polling.
The thread-local data structure used for polling.
The user-facing Poller interface.
the maximum duration for which to block, where nanos == -1
indicates to block
indefinitely. ''However'', if nanos == -1
and there are no remaining events to poll
for, this method should return false
immediately. This is unfortunate but necessary so
that the EventLoop
can yield to the Scala Native global ExecutionContext
which is
currently hard-coded into every test framework, including MUnit, specs2, and Weaver.
whether poll should be called again (i.e., there are more events to be polled)