@property
    def availability(self):
        spotify.Error.maybe_raise(
            self.error, ignores=[spotify.ErrorType.IS_LOADING])
        if not self.is_loaded:
            return None
        return TrackAvailability(lib.sp_track_get_availability(
            self._session._sp_session, self._sp_track))
Returns and clears the first message from the message queue.
dataset/ETHPy150Open mopidy/pyspotify/spotify/track.py/Track.availability--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/api/channel/channel_service_stub.py/ChannelServiceStub.pop_first_message