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

then and and_ could be used by more than just actors #134

Open
bandophahita opened this issue Feb 28, 2024 · 0 comments
Open

then and and_ could be used by more than just actors #134

bandophahita opened this issue Feb 28, 2024 · 0 comments

Comments

@bandophahita
Copy link
Contributor

The functions then & and_ could be used by more than just actors.

Consider the following:

actor.will(
    DoThing1(), 
    DoThing2(), 
    DoThing3()
)

With a small adjustment this could be written as:

actor.will(
    DoThing1(), 
    then(DoThing2()), 
    and_(DoThing3())
)

The only thing that would need to be updated would be the annotations for these functions.

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