The prototype of functions submitted to dispatch queues.
Mac Catalyst 13.0+Beta
Functions that take a dispatch_function_t type as a parameter also take a pointer to contextual data that you provide. When your dispatch function is called, the pointer to that contextual data is passed as the parameter to the function. The pointer to the contextual data is passed unmodified to your function and it is your responsibility to ensure that the pointer is valid.
The prototype of blocks submitted to dispatch queues, which take no arguments and have no return value.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.