Protocol

DispatchSourceMemoryPressure

A dispatch source that monitors the system for changes in the memory pressure condition.

Declaration

protocol DispatchSourceMemoryPressure

Overview

You do not adopt this protocol in your objects. Instead, use the makeMemoryPressureSource(eventMask:queue:) method to create an object that adopts this protocol.

Relationships

Conforming Types

See Also

Creating a Memory Pressure Source

class func makeMemoryPressureSource(eventMask: DispatchSource.MemoryPressureEvent, queue: DispatchQueue?) -> DispatchSourceMemoryPressure

Creates a new dispatch source object that monitors the system for changes in the memory pressure condition.