Closed CodyRay closed 5 years ago
This PR adds a listenTo method to the flux service. The semantics are the same as $scope.$listenTo but the caller of flux.listenTo can unsubscribe the listener with the returned callback.
listenTo
flux
$scope.$listenTo
flux.listenTo
Looks good - think its worth updating the README to point out this new functionality?
@jrust Makes sense, added a paragraph to the README 👍
This PR adds a
listenTo
method to theflux
service. The semantics are the same as$scope.$listenTo
but the caller offlux.listenTo
can unsubscribe the listener with the returned callback.