Class: Couchbase::Async::Callback
- Inherits:
-
Object
- Object
- Couchbase::Async::Callback
- Includes:
- Java::NetSpyMemcachedInternal::OperationCompletionListener
- Defined in:
- lib/couchbase/async/callback.rb
Instance Method Summary collapse
-
#initialize(operation, &callback) ⇒ Callback
constructor
A new instance of Callback.
- #onComplete(future) ⇒ Object
Constructor Details
#initialize(operation, &callback) ⇒ Callback
Returns a new instance of Callback.
6 7 8 |
# File 'lib/couchbase/async/callback.rb', line 6 def initialize(operation, &callback) @operation, @callback = operation, callback end |