Add typedef for cache operation complete block

Makes it cleaner when users want to define the block independantly
Merge pull request #649 from finik/patch-1

Add typedef for cache operation complete block