Contents

async(execute:)

Schedules a work item for immediate execution, and returns immediately.

Declaration

func async(execute workItem: DispatchWorkItem)

Parameters

  • workItem:

    The work item containing the task to execute. For information on how to create this work item, see Dispatchworkitem.

See Also

Executing Tasks Asynchronously