registerEoseCommandCallBack method

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

Registers an eose command callback to the registry with the given subscriptionId.

Implementation

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