SnowCait on Nostr: const obs$ = rxNostr.use(req).pipe(uniq(), share()); ...
const obs$ = rxNostr.use(req).pipe(uniq(), share());
obs$.pipe(filterByKind(1)).subscribe();
obs$.pipe(filterByKind(6)).subscribe();
したときに REQ の発行は 1 回で済んでほしい
Published at
2025-01-14 14:53:51Event JSON
{
"id": "5473e227980525f8c541549b0c96a257e7aa722ef1af1c73c3012c170c18513b",
"pubkey": "83d52b4363d2d1bc5a098de7be67c120bfb7c0cee8efefd8eb6e42372af24689",
"created_at": 1736866431,
"kind": 1,
"tags": [],
"content": "const obs$ = rxNostr.use(req).pipe(uniq(), share());\nobs$.pipe(filterByKind(1)).subscribe();\nobs$.pipe(filterByKind(6)).subscribe();\n\nしたときに REQ の発行は 1 回で済んでほしい",
"sig": "bbf08501ec051301c7dc5d59984c6e1cd36f2bfe018b9f85f4a8a88f0004942d673f171895174f6a78e2fc371826bb3b0873ac514a3129afe98ba2ffdedaf14a"
}