RawEventLoader typedef

RawEventLoader = Future<List<Nip01Event>> Function({List<String>? ids, List<int>? kinds, int? limit, List<String>? pubKeys, String? search, int? since, Map<String, List<String>>? tags, int? until})

Raw cache read used by EventVisibilityResolver.

Implementations must apply the given filters and nothing else: no visibility rules, no implicit limit.

Implementation

typedef RawEventLoader = Future<List<Nip01Event>> Function({
  List<String>? ids,
  List<String>? pubKeys,
  List<int>? kinds,
  Map<String, List<String>>? tags,
  int? since,
  int? until,
  String? search,
  int? limit,
});