DispatchQueue

Overview

Location

  • Reference:
    • Swift.fx  Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-watchOS, Island-watchOS Simulator
    • libSwift.fx  Toffee
  • Namespace: Swift
  • Platforms: Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-watchOS, Island-watchOS Simulator, Toffee
  • Ancestry: DispatchObject | DispatchQueue

 

constructor withLabel(not nullable String) attributes(not nullable DispatchQueueAttributes) target(nullable DispatchQueue) Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-watchOS, Island-watchOS Simulator

 

constructor withLabel(label: not nullable String) attributes(attributes: not nullable DispatchQueueAttributes) target(target: nullable DispatchQueue)

 

DispatchQueue withLabel(String! label) attributes(DispatchQueueAttributes! attributes) target(DispatchQueue? target)

 

init(withLabel label: String, attributes: DispatchQueueAttributes, target: DispatchQueue?)

Parameters:

  • label:
  • attributes:
  • target:

constructor withQueue(not nullable IOS_dispatch_queue) Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-watchOS, Island-watchOS Simulator

 

constructor withQueue(queue: not nullable IOS_dispatch_queue)

 

DispatchQueue withQueue(IOS_dispatch_queue! queue)

 

init(withQueue queue: IOS_dispatch_queue)

Parameters:

  • queue:

constructor withRawValue(not nullable IOS_dispatch_object)    (declared in DispatchObject) Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-watchOS, Island-watchOS Simulator

 

constructor withRawValue(rawValue: not nullable IOS_dispatch_object)

 

DispatchQueue withRawValue(IOS_dispatch_object! rawValue)

 

init(withRawValue rawValue: IOS_dispatch_object)

Parameters:

  • rawValue:

after walltime(not nullable DispatchWallTime) execute(not nullable Action)  virtual

 

method after walltime(when: not nullable DispatchWallTime) execute(work: not nullable Action)

 

void after walltime(DispatchWallTime! when) execute(Action! work)

 

func after(walltime when: DispatchWallTime, execute work: () -> ())

Parameters:

  • when:
  • work:

after when(not nullable DispatchTime) execute(not nullable Action)  virtual

 

method after when(when: not nullable DispatchTime) execute(work: not nullable Action)

 

void after when(DispatchTime! when) execute(Action! work)

 

func after(when: DispatchTime, execute work: () -> ())

Parameters:

  • when:
  • work:

apply  virtual

 

method apply applier(iterations: not nullable UInt64) execute(block: not nullable Action<not nullable NSUInteger>)

 

void apply applier(UInt64! iterations) execute(Action<NSUInteger!>! block)

 

func apply(applier iterations: UInt64, execute block: (NSUInteger) -> ())

Parameters:

  • iterations:
  • block:

asynchronously execute(not nullable Action)  virtual

 

method asynchronously execute(block: not nullable Action)

 

void asynchronously execute(Action! block)

 

func asynchronously(execute block: () -> ())

Parameters:

  • block:

asynchronously execute(not nullable DispatchWorkItem)  virtual

 

method asynchronously execute(workItem: not nullable DispatchWorkItem)

 

void asynchronously execute(DispatchWorkItem! workItem)

 

func asynchronously(execute workItem: DispatchWorkItem)

Parameters:

  • workItem:

asynchronously group(nullable DispatchGroup) qos(not nullable DispatchQoS) flags(not nullable DispatchWorkItemFlags) execute(not nullable Action)  virtual

 

method asynchronously group(group: nullable DispatchGroup) qos(qos: not nullable DispatchQoS) flags(flags: not nullable DispatchWorkItemFlags) execute(work: not nullable Action)

 

void asynchronously group(DispatchGroup? group) qos(DispatchQoS! qos) flags(DispatchWorkItemFlags! flags) execute(Action! work)

 

func asynchronously(group: DispatchGroup?, qos: DispatchQoS, flags: DispatchWorkItemFlags, execute work: () -> ())

Parameters:

  • group:
  • qos:
  • flags:
  • work:

global  virtual

 

class method global attributes(attributes: not nullable DispatchQueue.GlobalAttributes): not nullable DispatchQueue

 

static DispatchQueue! global attributes(DispatchQueue.GlobalAttributes! attributes)

 

static func global(attributes: DispatchQueue.GlobalAttributes) -> DispatchQueue

Parameters:

  • attributes:

initWithLabel Toffee

 

func initWithLabel(label: String, attributes: DispatchQueueAttributes, target: DispatchQueue?) -> instancetype

Parameters:

  • label:
  • attributes:
  • target:

initWithQueue Toffee

 

func initWithQueue(queue: dispatch_queue_t) -> instancetype

Parameters:

  • queue:

initWithRawValue    (declared in DispatchObject) Toffee

 

func initWithRawValue(rawValue: dispatch_object_t) -> instancetype

Parameters:

  • rawValue:

label  virtual

 

property label: not nullable String read;

 

String! label { get; }

 

var label: String { get{} }

main  virtual

 

class property main: not nullable DispatchQueue read write;

 

class DispatchQueue! main { get; set; }

 

static var main: DispatchQueue { get{} set{} }

queue  virtual

 

property queue: not nullable IOS_dispatch_queue read;

 

IOS_dispatch_queue! queue { get; }

 

// Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-watchOS, Island-watchOS Simulator
var queue: IOS_dispatch_queue { get{} }
// Toffee
var queue: dispatch_queue_t { get{} }

synchronously execute(not nullable Action)  virtual

 

method synchronously execute(block: not nullable Action)

 

void synchronously execute(Action! block)

 

func synchronously(execute block: () -> ())

Parameters:

  • block:

synchronously execute(not nullable DispatchWorkItem)  virtual

 

method synchronously execute(workItem: not nullable DispatchWorkItem)

 

void synchronously execute(DispatchWorkItem! workItem)

 

func synchronously(execute workItem: DispatchWorkItem)

Parameters:

  • workItem:

synchronously<T>  virtual Toffee

 

func synchronously<T>(execute work: (NSError) -> T!, error: NSError) -> T!

Parameters:

  • work:
  • error:

 

label  virtual

 

property label: not nullable String read;

 

String! label { get; }

 

var label: String { get{} }

queue  virtual

 

property queue: not nullable IOS_dispatch_queue read;

 

IOS_dispatch_queue! queue { get; }

 

// Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-watchOS, Island-watchOS Simulator
var queue: IOS_dispatch_queue { get{} }
// Toffee
var queue: dispatch_queue_t { get{} }

main  virtual

 

class property main: not nullable DispatchQueue read write;

 

class DispatchQueue! main { get; set; }

 

static var main: DispatchQueue { get{} set{} }

 

global  virtual

 

class method global attributes(attributes: not nullable DispatchQueue.GlobalAttributes): not nullable DispatchQueue

 

static DispatchQueue! global attributes(DispatchQueue.GlobalAttributes! attributes)

 

static func global(attributes: DispatchQueue.GlobalAttributes) -> DispatchQueue

Parameters:

  • attributes:

 

constructor withLabel(not nullable String) attributes(not nullable DispatchQueueAttributes) target(nullable DispatchQueue) Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-watchOS, Island-watchOS Simulator

 

constructor withLabel(label: not nullable String) attributes(attributes: not nullable DispatchQueueAttributes) target(target: nullable DispatchQueue)

 

DispatchQueue withLabel(String! label) attributes(DispatchQueueAttributes! attributes) target(DispatchQueue? target)

 

init(withLabel label: String, attributes: DispatchQueueAttributes, target: DispatchQueue?)

Parameters:

  • label:
  • attributes:
  • target:

constructor withQueue(not nullable IOS_dispatch_queue) Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-watchOS, Island-watchOS Simulator

 

constructor withQueue(queue: not nullable IOS_dispatch_queue)

 

DispatchQueue withQueue(IOS_dispatch_queue! queue)

 

init(withQueue queue: IOS_dispatch_queue)

Parameters:

  • queue:

constructor withRawValue(not nullable IOS_dispatch_object)    (declared in DispatchObject) Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-watchOS, Island-watchOS Simulator

 

constructor withRawValue(rawValue: not nullable IOS_dispatch_object)

 

DispatchQueue withRawValue(IOS_dispatch_object! rawValue)

 

init(withRawValue rawValue: IOS_dispatch_object)

Parameters:

  • rawValue:

after walltime(not nullable DispatchWallTime) execute(not nullable Action)  virtual

 

method after walltime(when: not nullable DispatchWallTime) execute(work: not nullable Action)

 

void after walltime(DispatchWallTime! when) execute(Action! work)

 

func after(walltime when: DispatchWallTime, execute work: () -> ())

Parameters:

  • when:
  • work:

after when(not nullable DispatchTime) execute(not nullable Action)  virtual

 

method after when(when: not nullable DispatchTime) execute(work: not nullable Action)

 

void after when(DispatchTime! when) execute(Action! work)

 

func after(when: DispatchTime, execute work: () -> ())

Parameters:

  • when:
  • work:

apply  virtual

 

method apply applier(iterations: not nullable UInt64) execute(block: not nullable Action<not nullable NSUInteger>)

 

void apply applier(UInt64! iterations) execute(Action<NSUInteger!>! block)

 

func apply(applier iterations: UInt64, execute block: (NSUInteger) -> ())

Parameters:

  • iterations:
  • block:

asynchronously execute(not nullable Action)  virtual

 

method asynchronously execute(block: not nullable Action)

 

void asynchronously execute(Action! block)

 

func asynchronously(execute block: () -> ())

Parameters:

  • block:

asynchronously execute(not nullable DispatchWorkItem)  virtual

 

method asynchronously execute(workItem: not nullable DispatchWorkItem)

 

void asynchronously execute(DispatchWorkItem! workItem)

 

func asynchronously(execute workItem: DispatchWorkItem)

Parameters:

  • workItem:

asynchronously group(nullable DispatchGroup) qos(not nullable DispatchQoS) flags(not nullable DispatchWorkItemFlags) execute(not nullable Action)  virtual

 

method asynchronously group(group: nullable DispatchGroup) qos(qos: not nullable DispatchQoS) flags(flags: not nullable DispatchWorkItemFlags) execute(work: not nullable Action)

 

void asynchronously group(DispatchGroup? group) qos(DispatchQoS! qos) flags(DispatchWorkItemFlags! flags) execute(Action! work)

 

func asynchronously(group: DispatchGroup?, qos: DispatchQoS, flags: DispatchWorkItemFlags, execute work: () -> ())

Parameters:

  • group:
  • qos:
  • flags:
  • work:

initWithLabel Toffee

 

func initWithLabel(label: String, attributes: DispatchQueueAttributes, target: DispatchQueue?) -> instancetype

Parameters:

  • label:
  • attributes:
  • target:

initWithQueue Toffee

 

func initWithQueue(queue: dispatch_queue_t) -> instancetype

Parameters:

  • queue:

initWithRawValue    (declared in DispatchObject) Toffee

 

func initWithRawValue(rawValue: dispatch_object_t) -> instancetype

Parameters:

  • rawValue:

synchronously execute(not nullable Action)  virtual

 

method synchronously execute(block: not nullable Action)

 

void synchronously execute(Action! block)

 

func synchronously(execute block: () -> ())

Parameters:

  • block:

synchronously execute(not nullable DispatchWorkItem)  virtual

 

method synchronously execute(workItem: not nullable DispatchWorkItem)

 

void synchronously execute(DispatchWorkItem! workItem)

 

func synchronously(execute workItem: DispatchWorkItem)

Parameters:

  • workItem:

synchronously<T>  virtual Toffee

 

func synchronously<T>(execute work: (NSError) -> T!, error: NSError) -> T!

Parameters:

  • work:
  • error: