How to use the iterm2.notifications.async_unsubscribe function in iterm2

To help you get started, we’ve selected a few iterm2 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github gnachman / iTerm2 / api / library / python / iterm2 / iterm2 / screen.py View on Github external
async def __aexit__(self, exc_type, exc, _tb):
        try:
            await iterm2.notifications.async_unsubscribe(
                self.connection, self.token)
        except iterm2.notifications.SubscriptionException:
            pass
github gnachman / iTerm2 / api / library / python / iterm2 / iterm2 / variables.py View on Github external
async def __aexit__(self, exc_type, exc, _tb):
        try:
            await iterm2.notifications.async_unsubscribe(
                self.__connection, self.__token)
        except iterm2.notifications.SubscriptionException:
            pass
github gnachman / iTerm2 / api / library / python / iterm2 / iterm2 / prompt.py View on Github external
async def __aexit__(self, exc_type, exc, _tb):
        try:
            await iterm2.notifications.async_unsubscribe(
                self.connection, self.__token)
        except iterm2.notifications.SubscriptionException:
            pass
github gnachman / iTerm2 / api / library / python / iterm2 / iterm2 / lifecycle.py View on Github external
async def __aexit__(self, exc_type, exc, _tb):
        try:
            await iterm2.notifications.async_unsubscribe(
                self.__connection, self.__token)
        except iterm2.notifications.SubscriptionException:
            pass
github gnachman / iTerm2 / api / library / python / iterm2 / iterm2 / lifecycle.py View on Github external
async def __aexit__(self, exc_type, exc, _tb):
        try:
            await iterm2.notifications.async_unsubscribe(
                self.__connection,
                self.__token)
        except iterm2.notifications.SubscriptionException:
            pass
github gnachman / iTerm2 / api / library / python / iterm2 / iterm2 / keyboard.py View on Github external
async def __aexit__(self, exc_type, exc, _tb):
        try:
            await iterm2.notifications.async_unsubscribe(
                self.__connection, self.__token)
        except iterm2.notifications.SubscriptionException:
            pass
github gnachman / iTerm2 / api / library / python / iterm2 / iterm2 / focus.py View on Github external
async def __aexit__(self, exc_type, exc, _tb):
        try:
            await iterm2.notifications.async_unsubscribe(
                self.__connection, self.__token)
        except iterm2.notifications.SubscriptionException:
            pass
github gnachman / iTerm2 / api / library / python / iterm2 / iterm2 / keyboard.py View on Github external
async def __aexit__(self, exc_type, exc, _tb):
        try:
            await iterm2.notifications.async_unsubscribe(
                self.__connection, self.__token)
        except iterm2.notifications.SubscriptionException:
            pass