alwaysLoadAndPrune property

  1. @Deprecated('Prefer `ignoreTapEvents` instead. ' 'This transformer produces theoretically unnecessary tile updates which can harm performance. ' 'If you notice a difference in behaviour, please open a bug report on GitHub. ' 'This feature is deprecated since v5.')
StreamTransformer<TileUpdateEvent, TileUpdateEvent> alwaysLoadAndPrune
final

This feature is deprecated since v5.

Prefer ignoreTapEvents instead. This transformer produces theoretically unnecessary tile updates which can harm performance. If you notice a difference in behaviour, please open a bug report on GitHub.

Implementation

@Deprecated(
  'Prefer `ignoreTapEvents` instead. '
  'This transformer produces theoretically unnecessary tile updates which can harm performance. '
  'If you notice a difference in behaviour, please open a bug report on GitHub. '
  'This feature is deprecated since v5.',
)
static final alwaysLoadAndPrune =
    TileUpdateTransformer.fromHandlers(handleData: (event, sink) {
  sink.add(event);
});