EffectStrategy enum

Effect 投递策略

Inheritance
Available extensions

Values

drop → const EffectStrategy

无人订阅时丢弃事件 (默认,安全)

bufferN → const EffectStrategy

环形缓冲 N 条,新订阅者收到缓冲区中的事件

ttl → const EffectStrategy

保留最近 X 时间内的事件

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<EffectStrategy>
A constant List of the values in this enum, in order of their declaration.