Invokes the user handler with a typed DTO and the previous value.
final Future<dynamic> Function(EventDTO dto, Object? lastData) invoke;