Skip to content

Commit

Permalink
Fix missing trailing parenthesis in sample code (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsanthanam authored Mar 30, 2024
1 parent e257d83 commit 1234f9b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import NetworkReachability
func updateReachability() {
NetworkMonitor.networkPath(completionHandler: { (path: NWPath) in
// Do something with `path`
}
})
}
```

Expand Down Expand Up @@ -78,7 +78,7 @@ final class MyClass {
stopMonitoring()
monitor = NetworkMonitor(updateHandler: { (monitor: NetworkMonitor, path: NWPath) in
// Do something with `monitor` or `path`
}
})
}

func stopMonitoring() {
Expand Down

0 comments on commit 1234f9b

Please sign in to comment.