File tree Expand file tree Collapse file tree 9 files changed +7
-15
lines changed
4.0/driver-reactive/getting-started
4.1/driver-reactive/getting-started
4.2/driver-reactive/getting-started/quick-start
4.3/driver-reactive/getting-started/quick-start
4.4/driver-reactive/getting-started/quick-start
4.5/driver-reactive/getting-started/quick-start
4.6/driver-reactive/getting-started/quick-start Expand file tree Collapse file tree 9 files changed +7
-15
lines changed Original file line number Diff line number Diff line change @@ -356,10 +356,6 @@ <h2 id="subscribers">Subscribers</h2>
356
356
357
357
< p > The MongoDB Reactive Streams Driver API mirrors the Sync driver API and any methods that cause network IO return a < code > Publisher<T></ code > ,
358
358
where < code > T</ code > is the type of response for the operation.< br />
359
- The exception to that rule is for methods in the async driver that return a < code > Void</ code > value in the callback.
360
- In < a href ="http://www.reactive-streams.org "> reactive streams</ a > this is forbidden, so in those circumstances we
361
- return a < a href ="/mongo-java-driver/4.0/apidocs/mongodb-driver-reactivestreams/com/mongodb/reactivestreams/client/Success.html
362
- "> < code > Success</ code > </ a > on the operation.</ p >
363
359
364
360
< div class ="admonition note ">
365
361
< h5 class ="admonition-title "> Note</ h5 >
Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ <h2 id="prerequisites">Prerequisites</h2>
363
363
import com.mongodb.reactivestreams.client.MongoClients;
364
364
import com.mongodb.reactivestreams.client.MongoCollection;
365
365
import com.mongodb.reactivestreams.client.MongoDatabase;
366
- import com.mongodb.reactivestreams.client.Success;
366
+
367
367
368
368
import org.bson.Document;
369
369
Original file line number Diff line number Diff line change @@ -356,10 +356,6 @@ <h2 id="subscribers">Subscribers</h2>
356
356
357
357
< p > The MongoDB Reactive Streams Driver API mirrors the Sync driver API and any methods that cause network IO return a < code > Publisher<T></ code > ,
358
358
where < code > T</ code > is the type of response for the operation.< br />
359
- The exception to that rule is for methods in the async driver that return a < code > Void</ code > value in the callback.
360
- In < a href ="http://www.reactive-streams.org "> reactive streams</ a > this is forbidden, so in those circumstances we
361
- return a < a href ="/mongo-java-driver/4.1/apidocs/mongodb-driver-reactivestreams/com/mongodb/reactivestreams/client/Success.html
362
- "> < code > Success</ code > </ a > on the operation.</ p >
363
359
364
360
< div class ="admonition note ">
365
361
< h5 class ="admonition-title "> Note</ h5 >
Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ <h2 id="prerequisites">Prerequisites</h2>
363
363
import com.mongodb.reactivestreams.client.MongoClients;
364
364
import com.mongodb.reactivestreams.client.MongoCollection;
365
365
import com.mongodb.reactivestreams.client.MongoDatabase;
366
- import com.mongodb.reactivestreams.client.Success;
366
+
367
367
368
368
import org.bson.Document;
369
369
Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ <h2 id="prerequisites">Prerequisites</h2>
363
363
import com.mongodb.reactivestreams.client.MongoClients;
364
364
import com.mongodb.reactivestreams.client.MongoCollection;
365
365
import com.mongodb.reactivestreams.client.MongoDatabase;
366
- import com.mongodb.reactivestreams.client.Success;
366
+
367
367
368
368
import org.bson.Document;
369
369
Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ <h2 id="prerequisites">Prerequisites</h2>
367
367
import com.mongodb.reactivestreams.client.MongoClients;
368
368
import com.mongodb.reactivestreams.client.MongoCollection;
369
369
import com.mongodb.reactivestreams.client.MongoDatabase;
370
- import com.mongodb.reactivestreams.client.Success;
370
+
371
371
372
372
import org.bson.Document;
373
373
Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ <h2 id="prerequisites">Prerequisites</h2>
366
366
import com.mongodb.reactivestreams.client.MongoClients;
367
367
import com.mongodb.reactivestreams.client.MongoCollection;
368
368
import com.mongodb.reactivestreams.client.MongoDatabase;
369
- import com.mongodb.reactivestreams.client.Success;
369
+
370
370
371
371
import org.bson.Document;
372
372
Original file line number Diff line number Diff line change @@ -368,7 +368,7 @@ <h2 id="prerequisites">Prerequisites</h2>
368
368
import com.mongodb.reactivestreams.client.MongoClients;
369
369
import com.mongodb.reactivestreams.client.MongoCollection;
370
370
import com.mongodb.reactivestreams.client.MongoDatabase;
371
- import com.mongodb.reactivestreams.client.Success;
371
+
372
372
373
373
import org.bson.Document;
374
374
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ <h2 id="prerequisites">Prerequisites</h2>
369
369
import com.mongodb.reactivestreams.client.MongoClients;
370
370
import com.mongodb.reactivestreams.client.MongoCollection;
371
371
import com.mongodb.reactivestreams.client.MongoDatabase;
372
- import com.mongodb.reactivestreams.client.Success;
372
+
373
373
374
374
import org.bson.Document;
375
375
You can’t perform that action at this time.
0 commit comments