There was an error while loading. Please reload this page.
1 parent 6516389 commit 46ff1a4Copy full SHA for 46ff1a4
1 file changed
src/main/java/io/reactivex/rxjava4/schedulers/BlockingScheduler.java
@@ -18,6 +18,15 @@
18
import io.reactivex.rxjava4.internal.functions.Functions;
19
import io.reactivex.rxjava4.internal.schedulers.BlockingCurrentThreadScheduler;
20
21
+/**
22
+ * Holds onto a blocking scheduler instance and provides access to its {@link #execute()}
23
+ * method and a way to obtain a pure {@link Scheduler} instance to be used as parameter.
24
+ * @implNote No need to instantiate this record by client applications, it serves as a way to
25
+ * give access to the {@code Scheduler} interface as well as the blocking-specific
26
+ * {@link #execute()} methods.
27
+ * @param bcts the scheduler instance
28
+ * @since 4.0.0
29
+ */
30
public record BlockingScheduler(BlockingCurrentThreadScheduler bcts) {
31
32
/**
0 commit comments