Skip to content

[Messenger] Update the list of stamp #14374

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 9, 2020

Conversation

Nyholm
Copy link
Member

@Nyholm Nyholm commented Oct 8, 2020

This PR updates the list of stamps. In the current docs it looks like the list of stamps was complete. I think we should just highlight important ones that users will come in contact with. Advanced users will find the rest of the stamps anyways.

I sorted the list alphabetically. I added DelayStamp and DispatchAfterCurrentBusStamp

#. :class:`Symfony\\Component\\Messenger\\Stamp\\DelayStamp`,
to delay handling of an asynchronous message.
#. :class:`Symfony\\Component\\Messenger\\Stamp\\DispatchAfterCurrentBusStamp`,
to make the message be handled after the current buss has executed. Read more
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double s on bus ;)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I slipped in some Swedish. Sorry about that.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And I don't know how it could be added, but if the treatment has been successful no?

@javiereguiluz
Copy link
Member

A quick question: do these changes apply to 4.4 or 5.1 too? Or are the newly added stamps 5.x only? Thanks!

@Nyholm
Copy link
Member Author

Nyholm commented Oct 9, 2020

Correct. It applies to 4.4 and 5.1 too.

Should I be more careful selecting base branch in the future?

@javiereguiluz
Copy link
Member

No worries. It's common to have to change the branch while merging. We can do that with the tool we use to merge things, so it doesn't mean more work for maintainers. I'm going to merge it in 4.4 and up. Thanks!

@javiereguiluz javiereguiluz changed the base branch from 5.x to 4.4 October 9, 2020 06:50
@javiereguiluz javiereguiluz merged commit a0f6727 into symfony:4.4 Oct 9, 2020
@xabbuh xabbuh added this to the 4.4 milestone Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants