Skip to content

Adds ability to cancel events #6

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

auto-moose
Copy link

This PR adds 2 new blocks:

  • afterID, which is a direct copy of the after block but returns the id of the scheduled event.

  • cancel, which takes in the id of the event and cancels it.

These two functions can be used in conjunction with each other for various purposes.

Separated my updated after block into after and afterID so that the original after block can be used without the added complexity.
@auto-moose
Copy link
Author

@microsoft-github-policy-service agree

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

Successfully merging this pull request may close these issues.

1 participant