Interface MultiCallback

Multi-Key callbacks This callback is invoked by the *Multi operations. It differs from the in {@linkcode KeyCallback} that the response object is an object of {key: response} where each response object contains the response for that particular key.

typedef

{function} MultiCallback

param

An error indicator. Note that this error value may be ignored, but its absence is indicative that each response in the results parameter is ok. If it is set, then at least one of the result objects failed

param

The results of the operation as a dictionary of keys mapped to Result objects.

Index

Call signatures

Call signatures

(error: CouchbaseError, result: { [key: string]: 'couchbase'.Result; }): any

Parameters

  • error: CouchbaseError
  • result: { [key: string]: 'couchbase'.Result; }

Returns

any