pause()
Creates a verdict that tells the system to pause the flow.
Declaration
class func pause() -> NEFilterDataVerdictReturn Value
A NEFilterDataVerdict object.
Discussion
After pausing the flow, the system doesn’t call any of the data provider’s handler callbacks until you resume the flow by calling resumeFlow(_:with:).
You can pause TCP flows indefinitely. You can pause UDP flows for up to 10 seconds, after which the system drops the flow. Pausing a flow that’s already paused is an invalid operation.