Skip to content

Commit

Permalink
- Removes Associative role from Cro::Message in favor of .attributes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Xliff committed Jul 11, 2024
1 parent a51c9dc commit 42a55a8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/Cro/Message.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
# 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 {
also does Associative;

# 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 handles <keys pairs values AT-KEY EXISTS-KEY>;
has %.attributes;


# Provides trace output for use with CRO_TRACE=1 and `cro trace ...`.
Expand Down

0 comments on commit 42a55a8

Please sign in to comment.