registerEoseCommandCallBack method
void
registerEoseCommandCallBack({
- required String subscriptionId,
- required void onEose(
- String relay,
- NostrRequestEoseCommand eose
- required String relay,
Registers an eose command callback to the registry with the given subscriptionId
.
Implementation
void registerEoseCommandCallBack({
required String subscriptionId,
required void Function(String relay, NostrRequestEoseCommand eose) onEose,
required String relay,
}) {
final relayEoseRegister = getOrCreateRegister(eoseCommandCallBacks, relay);
relayEoseRegister[subscriptionId] = onEose;
}