asFlow

open fun asFlow(): Flow<MemoryPressureLevel>

Provides a Flow to receive events of memory pressure.