handleDataEventForTest function

  1. @visibleForTesting
Future<void> handleDataEventForTest(
  1. AtCollection coll,
  2. DataEvent event
)

Routes event through coll's data-event handler — the same entry point the live LocalSecondary subscription uses on the EventSource.data path.

Implementation

@visibleForTesting
Future<void> handleDataEventForTest(
  AtCollection<dynamic> coll,
  DataEvent event,
) =>
    coll._handleDataEventImpl(event);