Skip to content

Commit 91f08cb

Browse files
authored
Make some text more clear in README (#85)
1 parent 64a3408 commit 91f08cb

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,15 @@ FluxQueue supports async functions too. Just define an async function and use th
7878
@fluxqueue.task()
7979
async def process_data(data: dict):
8080
# Your async processing logic
81-
result = await some_async_operation(data)
82-
return result
81+
await some_async_operation(data)
8382

8483
# Enqueue it (use await in async contexts)
8584
await process_data({"key": "value"})
8685
```
8786

8887
## Installing the worker
8988

90-
In order the tasks to be executed you need to run a fluxqueue worker, you need to install the worker on your system with:
89+
In order the tasks to be executed you need to run a FluxQueue worker, you need to install the worker on your system with:
9190

9291
```bash
9392
fluxqueue worker install
@@ -103,7 +102,7 @@ Running the worker is straightforward:
103102
fluxqueue start --tasks-module-path myapp/tasks
104103
```
105104

106-
In order the worker to disover your tasks you need to pass `--tasks-module-path` argument with the path to the tasks module. For more information please view the [documentation](https://fluxqueue.ccxlv.dev/tutorial/defininig_and_exposing_tasks).
105+
In order the worker to disover your tasks you need to pass `--tasks-module-path` argument with the path to the tasks module. For more information please view the [Defining and Exposing Tasks](https://fluxqueue.ccxlv.dev/tutorial/defininig_and_exposing_tasks) documentation.
107106

108107
## License
109108

0 commit comments

Comments
 (0)