useSubscribe, handle emitted requests in sqlite

This commit is contained in:
Martti Malmi
2024-01-18 13:47:07 +02:00
parent b7e61ebde5
commit 2ea516e636
14 changed files with 99 additions and 40 deletions

View File

@ -109,7 +109,7 @@ export interface SystemInterface {
/**
* Push an event into the system from external source
*/
HandleEvent(ev: TaggedNostrEvent): void;
HandleEvent(subId: string, ev: TaggedNostrEvent): void;
/**
* Send an event to all permanent connections