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

FutureSubject #171

Open
cpovirk opened this issue Jan 15, 2015 · 0 comments
Open

FutureSubject #171

cpovirk opened this issue Jan 15, 2015 · 0 comments
Labels
P3 not scheduled type=addition A new feature

Comments

@cpovirk
Copy link
Member

cpovirk commented Jan 15, 2015

Someone just commented internally that this would be handy for testing AbstractFuture. [edit: Well, maybe not for that specifically, in light of #268. But it's useful for plenty of other things.] Someone else has evidently had the same thought, adding a project-local FutureSubject with the following API:

  • isDone
  • isPending
  • hasValue(Object)
  • failedWith(Class<? extends Throwable>)
  • isFailed
  • isCancelled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 not scheduled type=addition A new feature
Projects
None yet
Development

No branches or pull requests

2 participants