Skip to content

Commit

Permalink
Merge pull request croservices#38 from Xliff/master
Browse files Browse the repository at this point in the history
- Adds ability to associate arbitrary data with a Cro::Message
  • Loading branch information
patrickbkr authored Jul 11, 2024
2 parents e83901a + 42a55a8 commit c70029f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/Cro/Message.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
# application is processing. It might be a message from a message queue, a
# ZeroMQ message, a HTTP request, a HTTP response, etc.
role Cro::Message {
# cw: For OOB attributes associated with the messages. Consider
# that there is no way to know who the message is from,
# or where it is supposed to go.
has %.attributes;


# Provides trace output for use with CRO_TRACE=1 and `cro trace ...`.
# Should include a developer-friendly view of the message. The default is
# just to show the message type
Expand Down

0 comments on commit c70029f

Please sign in to comment.