Contents

MDQueryDisableUpdates(_:)

Disables updates to the query result list.

Declaration

func MDQueryDisableUpdates(_ query: MDQuery!)

Parameters

  • query:

    The query.

Discussion

This function should be called before iterating over query results that could change due to live-updates. The disabled state is a counter and disabling can be done recursively and from different threads.

See Also

Starting, Stopping and Pausing Queries