Manages storing and periodically refreshing the server capabilities.
Fetches the latest server capabilities from the homeserver and returns them, or rejects on failure.
Returns the cached capabilities, or undefined if none are cached.
the current capabilities, if any.
Starts periodically fetching the server capabilities.
Stops the service
Manages storing and periodically refreshing the server capabilities.