This commit is contained in:
Erik Johnston 2017-10-20 15:33:46 +01:00
parent ef245c3549
commit b6440a198a

View file

@ -55,8 +55,8 @@ func NewUserStream(userID string, currPos types.StreamPosition) *UserStream {
}
}
// GetListener returns UserStreamListener a sync request can use to wait for
// new updates.
// GetListener returns UserStreamListener that a sync request can use to wait
// for new updates with.
// sincePos specifies from which point we want to be notified about
// UserStreamListener must be closed
func (s *UserStream) GetListener(sincePos types.StreamPosition) UserStreamListener {