UnlimitedDispatchQueue

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

Creates an unlimited dispatch queue with a generated name that uses the default execution context. Don't use it to create a dispatch queue which you would later want to set as the default one, as this will initialize the default one first (if it's not already initialized), so basically you could just do nothing and have the same effect.

Creates an unlimited dispatch queue with a generated name that uses the default execution context. Don't use it to create a dispatch queue which you would later want to set as the default one, as this will initialize the default one first (if it's not already initialized), so basically you could just do nothing and have the same effect.

Returns

a new unlimited dispatch queue

See also
def apply(name: String): DispatchQueue

Creates an unlimited dispatch queue with the given name that uses the default execution context. Don't use it to create a dispatch queue which you would later want to set as the default one, as this will initialize the default one first (if it's not already initialized), so basically you could just do nothing and have the same effect.

Creates an unlimited dispatch queue with the given name that uses the default execution context. Don't use it to create a dispatch queue which you would later want to set as the default one, as this will initialize the default one first (if it's not already initialized), so basically you could just do nothing and have the same effect.

Value Params
name
  • the name of the queue; might be later used e.g. in logging.
Returns

a new unlimited dispatch queue

See also