Exception: Valkey::FutureNotReady

Inherits:
BaseError
  • Object
show all
Defined in:
lib/valkey/future.rb

Overview

Raised by Future#value when the pipeline/multi block has not finished executing yet (e.g. called from inside the block itself).

Direct Known Subclasses

FutureAborted

Instance Method Summary collapse

Constructor Details

#initialize(msg = "Value will be available once the pipeline executes.") ⇒ FutureNotReady

Returns a new instance of FutureNotReady.



7
8
9
# File 'lib/valkey/future.rb', line 7

def initialize(msg = "Value will be available once the pipeline executes.")
  super
end