spring-attic / reactive-streams-commons

A joint research effort for building highly optimized Reactive-Streams compliant operators.
Apache License 2.0
357 stars 51 forks source link

Add PublisherIndexOf #7

Open smaldini opened 8 years ago

smaldini commented 8 years ago

Signatures:

Return a position relative to the sequence observed when element is found. Might onError(NoSuchElementException) or use the fallback argument long, e.g. -1L.