Contents

pause()

Creates a verdict that tells the system to pause the flow.

Declaration

class func pause() -> NEFilterNewFlowVerdict

Discussion

Once paused, 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.

See Also

Creating new flow verdicts