File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ def group_finished(group_id):
137137
138138#### Auto Tasks
139139
140- This is a helper tool, for the case you wish to define one of your class method as a task, and make it seamless to all callers.
140+ This is a helper tool for the case you wish to define one of your class method as a task, and make it seamless to all callers.
141141This makes the code much simpler, and allows using classes to invoke your method directly without considering whether it's invoked async or not.
142142
143143This is how you would define your class:
@@ -154,7 +154,7 @@ class MyService:
154154```
155155
156156Notice the following:
157- 1 . Your class needs to have defaults for all parameter in the c'tor
157+ 1 . Your class needs to have defaults for all parameters in the c'tor
1581582 . The c'tor must have a parameter named ` auto_task_service `
1591593 . The method shouldn't have any return value (as it's invoked async)
160160
You can’t perform that action at this time.
0 commit comments