Skip to content

Commit c1dc880

Browse files
authored
Indent README
1 parent ab5dd77 commit c1dc880

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,18 @@ Flow pipelines starts several processes linked to the current process. This mean
3333

3434
1. Use `Flow.stream(flow, link: false)` to explicitly convert a Flow to a non-linked stream. You can them invoke `Enum` and `Stream` functions regularly:
3535

36-
```elixir
37-
Flow.from_enumerable([1, 2, 3])
38-
|> Flow.map(& &1 * 2)
39-
|> Flow.stream(link: false)
40-
|> Enum.to_list()
41-
```
36+
```elixir
37+
Flow.from_enumerable([1, 2, 3])
38+
|> Flow.map(& &1 * 2)
39+
|> Flow.stream(link: false)
40+
|> Enum.to_list()
41+
```
4242

4343
2. By trapping exits once before the Flow computation starts:
4444

45-
```elixir
46-
Process.flag(:trap_exit, true)
47-
```
45+
```elixir
46+
Process.flag(:trap_exit, true)
47+
```
4848

4949
## License
5050

0 commit comments

Comments
 (0)