Hub.unsubscribe

You're seeing just the function unsubscribe, go back to Hub module for more information.
Link to this function

unsubscribe(ref)

Unsubscribes using the reference returned on subscribe