Skip to content

Commit 9c3bb17

Browse files
committed
Fixes (re-adds) the processor interface as per consensus in Issue #22
1 parent ddbcabf commit 9c3bb17

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: api/src/main/java/org/reactivestreams/Processor.java

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package org.reactivestreams;
2+
3+
/**
4+
* A Processor represents a processing stage—which is both a {@link Subscriber}
5+
* and a {@link Publisher} and obeys the contracts of both.
6+
*/
7+
public interface Processor<T, R> extends Subscriber<T>, Publisher<R> {
8+
}

0 commit comments

Comments
 (0)