hookFunction property

Future<void> Function(PVCtx ctx) hookFunction
final

Function that executes when this hook is triggered.

Receives PVCtx with entry value, metadata, and cache reference. Throw BreakHook to exit early and control return value.

Implementation

final Future<void> Function(PVCtx ctx) hookFunction;