Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
DataGreed committed Sep 17, 2020
2 parents 958233a + 991b793 commit ef25b02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ If you need to execute the function synchronously just one time somewhere in you
you can do it like this:

```python
# sends the task to SQS queue where it will be automatically picked up and executed by worker
some_task.execute(foo="bar")
# runs the task function synchronously without sending it to the queue and returns result
result = some_task.execute(foo="bar")
```

**Note:** don't supply positional arguments to the task, always use keyword arguments.
Expand Down Expand Up @@ -339,4 +339,4 @@ Feel free to open issues if you have any problems or questions with this package
---
Search tags
Django Elastic Beanstalk Worker Web Tier Asynchronous celery async django-q Jobs Background Tasks SQS
Django Elastic Beanstalk Worker Web Tier Asynchronous celery async django-q Jobs Background Tasks SQS

0 comments on commit ef25b02

Please sign in to comment.