| 79 | } |
| 80 | |
| 81 | type memoryPressureEvent struct { |
| 82 | pressureLevel MemoryPressureLevel |
| 83 | hierarchy EventNotificationMode |
| 84 | } |
| 85 | |
| 86 | // MemoryPressureEvent returns a new [MemoryEvent] representing the memory pressure set. |
| 87 | func MemoryPressureEvent(pressureLevel MemoryPressureLevel, hierarchy EventNotificationMode) MemoryEvent { |
nothing calls this directly
no outgoing calls
no test coverage detected