Contents

DispatchSourceMemoryPressure

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

Declaration

protocol DispatchSourceMemoryPressure : DispatchSourceProtocol, Sendable

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.

Topics

Getting the Event Data

See Also

Creating a Memory Pressure Source