getCountResponseCallBack method
Returns a count response callback from the registry with the given subscriptionId
.
Implementation
void Function(
String relay,
NostrCountResponse countResponse,
)? getCountResponseCallBack({
required String subscriptionId,
required String relay,
}) {
final relayCountRegister =
getOrCreateRegister(countResponseCallBacks, relay);
return relayCountRegister[subscriptionId];
}