registerCountResponseCallBack method
void
registerCountResponseCallBack(
- String subscriptionId,
- void onCountResponse(
- NostrCountResponse countResponse
Registers a count response callback to the registry with the given subscriptionId
.
Implementation
void registerCountResponseCallBack(
String subscriptionId,
void Function(NostrCountResponse countResponse) onCountResponse,
) {
countResponseCallBacks[subscriptionId] = onCountResponse;
}