getEoseCommandCallBack method
Returns an eose command callback from the registry with the given subscriptionId
.
Implementation
void Function(
String relay,
NostrRequestEoseCommand eose,
)? getEoseCommandCallBack({
required String subscriptionId,
required String relay,
}) {
final relayEoseRegister = getOrCreateRegister(eoseCommandCallBacks, relay);
return relayEoseRegister[subscriptionId];
}