sendEventToRelaysAsync abstract method

Future<NostrEventOkCommand> sendEventToRelaysAsync(
  1. NostrEvent event, {
  2. required Duration timeout,
  3. void onOk(
    1. NostrEventOkCommand ok
    )?,
})

Implementation

Future<NostrEventOkCommand> sendEventToRelaysAsync(
  NostrEvent event, {
  required Duration timeout,
  void Function(NostrEventOkCommand ok)? onOk,
});