ReducerEvent class

Event triggered by a reducer execution

Contains all metadata about the reducer call that caused a transaction, including the reducer name, arguments, caller information, and execution status.

Inheritance

Constructors

ReducerEvent({required Int64 timestamp, required UpdateStatus status, required Uint8List callerIdentity, required String reducerName, required dynamic reducerArgs, Uint8List? callerConnectionId, int? energyConsumed})

Properties

callerConnectionId Uint8List?
Connection ID of the client that called the reducer (16 bytes, optional)
final
callerIdentity Uint8List
Identity of the client that called the reducer (32 bytes)
final
energyConsumed int?
Energy consumed by the reducer execution (optional)
final
hashCode int
The hash code for this object.
no setterinherited
reducerArgs → dynamic
Strongly-typed reducer arguments object
final
reducerName String
Name of the reducer that was called
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status UpdateStatus
Status of the transaction (Committed, Failed, or OutOfEnergy)
final
timestamp Int64
Server timestamp when the transaction occurred (microseconds since epoch)
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited