Add typedef for cache operation complete block

Makes it cleaner when users want to define the block independantly