startEventsSubscriptionAsync abstract method

Future<List<NostrEvent>> startEventsSubscriptionAsync({
  1. required NostrRequest request,
  2. required Duration timeout,
  3. void onEose(
    1. NostrRequestEoseCommand ease
    )?,
  4. bool useConsistentSubscriptionIdBasedOnRequestData = false,
  5. bool shouldThrowErrorOnTimeoutWithoutEose = true,
})

Implementation

Future<List<NostrEvent>> startEventsSubscriptionAsync({
  required NostrRequest request,
  required Duration timeout,
  void Function(NostrRequestEoseCommand ease)? onEose,
  bool useConsistentSubscriptionIdBasedOnRequestData = false,
  bool shouldThrowErrorOnTimeoutWithoutEose = true,
});