We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac84182 commit 1830453Copy full SHA for 1830453
README.md
@@ -258,12 +258,10 @@ Flowable.range(1, 10)
258
```java
259
Flowable<Inventory> inventorySource = warehouse.getInventoryAsync();
260
261
-inventorySource.flatMap(inventoryItem ->
262
- erp.getDemandAsync(inventoryItem.getId())
263
- .map(demand
264
- -> System.out.println("Item " + inventoryItem.getName() + " has demand " + demand));
265
- )
266
- .subscribe();
+inventorySource
+ .flatMap(inventoryItem -> erp.getDemandAsync(inventoryItem.getId())
+ .map(demand -> "Item " + inventoryItem.getName() + " has demand " + demand))
+ .subscribe(System.out::println);
267
```
268
269
### Continuations
0 commit comments