enum
Grip::ServerSent::Strategy
Defined in:
grip/server_sent/strategy.crEnum Members
-
DropOldest =
0 -
Drops the oldest un-flushed frame to make room for live real-time data (Default)
-
DropNewest =
1 -
Ignores incoming frames while the buffer is full until network capacity frees up
-
Block =
2 -
Blocks the calling fiber until room opens in the queue (Preserves strict ordering & delivery)
Instance Method Summary
-
#block?
Returns
trueif this enum value equalsBlock -
#drop_newest?
Returns
trueif this enum value equalsDropNewest -
#drop_oldest?
Returns
trueif this enum value equalsDropOldest