debugMessageTap property

  1. @visibleForTesting
void Function(String transportId, Map<String, dynamic> raw)? debugMessageTap
getter/setter pair

Sees every Agent SDK message every channel receives, before translation, with the id of the transport it arrived on.

For recording the fixtures from a live run through exactly the production path (event_stream_live_test.dart); null in every other run. Static because the transports build their channels themselves and a recording run must not need a second way to build one.

Implementation

@visibleForTesting
static void Function(String transportId, Map<String, dynamic> raw)?
debugMessageTap;