summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2025-03-21 22:51:42 +0100
committerYuval Adam <_@yuv.al>2025-03-21 22:56:50 +0100
commita4ec6d0aa7b9f43866fbb91326595972e732253a (patch)
tree1bb895b5f7b9862422073f90eb1a880e2779aa76 /README.md
parent24e91b9e1b363a75a98afe48c3ec94b5874226e0 (diff)
Add step init
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 08becf1..9b9d744 100644
--- a/README.md
+++ b/README.md
@@ -27,8 +27,8 @@ async def main():
async for out in pipe:
print(out)
- # or collect them all
- res = await pipe.collect()
+ # or just single line it and collect them all
+ res = await Pipeline(source(), double, batch, sum).collect()
```
## License