Click or drag to resize
IRiakAsyncClientBatchT Method (FuncIRiakBatchClient, T)
Used to create a batched set of actions to be sent to a Riak cluster.

Namespace:  RiakClient
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
Task<T> Batch<T>(
	Func<IRiakBatchClient, T> batchFunction
)

Parameters

batchFunction
Type: SystemFuncIRiakBatchClient, T
A func that wraps all the operations to batch together.

Type Parameters

T
The batchFun's return type.

Return Value

Type: TaskT
A TaskTResult that will contain the return value of batchFun.
See Also