AbstractReadonlymetadataThe metadata associated with the event.
Optional ReadonlysourceThe source of the event.
ReadonlytimeThe timestamp of the event creation.
ReadonlytypeThe type of the event.
Return a cloned instance.
The metadata container is deep-copied (plain objects and arrays are recreated,
special values kept by reference) so that mutating the clone's metadata — e.g. via
middleware — never leaks back into the original event. This is what makes the
Kernel's originalEvent snapshot a faithful pre-middleware copy.
A cloned instance of the current class.
Get data from metadata.
The key to retrieve from metadata.
The value associated with the key or the fallback.
Get data from metadata.
The key to retrieve from metadata.
The value associated with the key or the fallback.
Check if the given value is equal to the specified value.
The key to check.
The value to compare against.
True if the key's value is equal to the specified value, false otherwise.
Add data to metadata.
The key or object to add to metadata.
Optionalvalue: unknown
The value to associate with the key.
This Event instance.
Class representing an Event.
Author
Mr. Stone evensstone@gmail.com