Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

Add PublisherEvery #8

Closed
smaldini opened this issue Feb 20, 2016 · 1 comment
Closed

Add PublisherEvery #8

smaldini opened this issue Feb 20, 2016 · 1 comment

Comments

@smaldini
Copy link
Contributor

Signatures:

  • PublisherBase<T> : <T> PublisherBase#every(int)
  • PublisherBase<T> : <T> PublisherBase#everyFirst(int)

Return the last or the first element of the given batch count. Allows for simple sampling with fixed size.

@smaldini
Copy link
Contributor Author

smaldini commented Mar 4, 2016

Closing issue, fixed by window().flatMap(PublisherBase::last) and window().flatMap(PublisherBase::next) and

@smaldini smaldini closed this as completed Mar 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant