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

Custom action while await #155

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tko007
Copy link

@tko007 tko007 commented Jan 7, 2020

Created in the first draft a class to collect all these possible building blocks, and placed in the core awaitility module. In java the usage will be .until(andThen(func1, func2))

@tko007 tko007 changed the title Added function helpers to support function building blocks Custom action while await Jan 8, 2020
@johanhaleby
Copy link
Collaborator

@tko007 Thanks for the PR (and sorry for the long delay). While I see the usefulness of these functions I'm a bit hesitant to add them to the library. These are functions that are quite easy to roll yourself and you might already be using another FP library such as Vavr which allows for easier function composition and you may want to leverage that instead. It just seems to me that this is beyond the scope of Awaitility... WDYT?

@grofoli
Copy link
Contributor

grofoli commented Mar 8, 2020

@johanhaleby @tko007 Although I tried to create a builder for this, I agree with Johan in this topic. See also our discussion in #136.

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.

None yet

3 participants