Contents

operationQueue(for:)

Returns the operation queue from which to issue the write request.

Declaration

@MainActor optional func operationQueue(for filePromiseProvider: NSFilePromiseProvider) -> OperationQueue

Parameters

  • filePromiseProvider:

    The file promise provider for the operation queue.

Discussion

If this method isn’t implemented, the main operation queue is used. Although this method is optional, to avoid blocking your main thread, provide an operation queue other than the main operation queue.

See Also

Handling File Promises