registerEoseCommandCallBack static method

void registerEoseCommandCallBack(
  1. String subscriptionId,
  2. void onEose(
    1. NostrRequestEoseCommand eose
    )?
)

Implementation

static void registerEoseCommandCallBack(
  String subscriptionId,
  void Function(NostrRequestEoseCommand eose)? onEose,
) {
  eoseCommandCallBacks[subscriptionId] = onEose;
}