registerEvent static method
Implementation
static ReceivedNostrEvent registerEvent(ReceivedNostrEvent event) {
eventsRegistry[eventUniqueId(event)] = event;
return eventsRegistry[eventUniqueId(event)]!;
}
static ReceivedNostrEvent registerEvent(ReceivedNostrEvent event) {
eventsRegistry[eventUniqueId(event)] = event;
return eventsRegistry[eventUniqueId(event)]!;
}