Blocking

object Blocking extends Serializable

The Blocking module provides access to a thread pool that can be used for performing blocking operations, such as thread sleeps, synchronous socket/file reads, and so forth. The contract is that the thread pool will accept unlimited tasks (up to the available memory) and continuously create new threads as necessary.

class Object
trait Matchable
class Any

Type members

Classlikes

object Service
Companion:
class
trait Service extends Serializable
Companion:
object

Value members

Concrete fields

val any: ZLayer[Blocking, Nothing, Blocking]
val live: Layer[Nothing, Blocking]