Fulfills the promises at the specified destination.
- macOS 10.12+
The destination location URL of the file promise.
An options dictionary to pass additional data.
The operation queue on which to call the reader block when the promised file is ready.
A block to be called on the supplied operationQueue when the promised file is ready to be read.
Call this method only when you're accepting the file promise. All file promise receivers in a drag must specify the same destination location. The
options dictionary is ignored for now. The
reader block is called on the supplied
operation when the promised file is ready to be read.
Avoid blocking the main thread while waiting for the file promise to be written (which can be a long process) by specifying an operation queue other than the main queue. When the source is an
NSFile, the reader block call is wrapped in a file coordination read.