Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decorator #1

Open
mishc9 opened this issue Jun 19, 2018 · 0 comments
Open

Decorator #1

mishc9 opened this issue Jun 19, 2018 · 0 comments

Comments

@mishc9
Copy link

mishc9 commented Jun 19, 2018

May be you can add a decorator functionality to the notifier?
e.g.

@notify(token)
def long_process(*args):
    ...
    return result

so the function will send notifications when it returns it's result

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant