Skip to content

Commit

Permalink
doc: mention return value for group.run() methods (#566)
Browse files Browse the repository at this point in the history
  • Loading branch information
jenstroeger authored Aug 20, 2023
1 parent 76578a6 commit d935fe4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dramatiq/composition.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@ def run(self, *, delay=None):
Parameters:
delay(int): The minimum amount of time, in milliseconds,
each message in the group should be delayed by.
Returns:
group: This same group.
"""
if self.completion_callbacks:
from .middleware.group_callbacks import GROUP_CALLBACK_BARRIER_TTL, GroupCallbacks
Expand Down

0 comments on commit d935fe4

Please sign in to comment.