apple / swift-service-discovery

A service discovery API for Swift.
https://swiftpackageindex.com/apple/swift-service-discovery/documentation
Apache License 2.0
213 stars 21 forks source link

Rename internal params/props for subscribe callbacks #14

Closed yim-lee closed 4 years ago

yim-lee commented 4 years ago

Motivation: The onNext and onComplete callbacks look awkward at times when they are stored/used outside of subscribe.

Modifications: Rename internal parameters and properties to nextResultHandler and completionHandler instead.