Method SetSingleObjectInvokeHandler
SetSingleObjectInvokeHandler<TKey, TValue>(Cache<TKey, TValue>, Func<TKey, SingleObjectInvokeArgs, byte[]>)
Sets an async callback method for handling single object invoke events.
public static void SetSingleObjectInvokeHandler<TKey, TValue>(Cache<TKey, TValue> cache, Func<TKey, SingleObjectInvokeArgs, byte[]> callback)
Parameters
cacheCache<TKey, TValue>The cache containing objects involved in the SingleObjectInvoke operations.
callbackFunc<TKey, SingleObjectInvokeArgs, byte[]>Callback that handles the SingleObjectInvoke operation.
Type Parameters
TKeyThe type of keys in the cache.
TValueThe type of values in the cache.