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

Remove the Trigger base class from Event and Lock #989

Merged
merged 1 commit into from
Jul 2, 2019

Commits on Jul 2, 2019

  1. Remove the Trigger base class from Event and Lock

    These objects are not triggers - they cannot be yielded as their `prime` method takes too many arguments.
    
    Instead, they have methods which return triggers - `Event` is used as `yield event.wait()`, and `Lock` is used as `yield lock.acquire()`.
    eric-wieser committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    e0a143f View commit details
    Browse the repository at this point in the history