A class for building and working with messages grouped by keys.
Optional
an initial array of messages to put in the "all" key
Protected
Return all messages in a flat array.
if provided, only search the given key
Returns true if any messages are found.
if provided, only search the given keys
Get the total number of messages.
Dehydrate this class' state and get it.
JSONState|Promise
Returns the first message.
Returns true if the given group has the message.
All group keys of messages.
Build and apply a pipeline.
Return a new Pipe of this collection.
Add a message to a group.
Rehydrate a state into this class.
void|Promise
Flat array of only distinct messages.
A class for building and working with messages grouped by keys.