Comments (1)
The more I'm thinking about implementing this function, the more questions pop up for the right semantic.
The right way to look at kind 0 / 3 events is one that has one value that can be updated, which is represented as a reader store with always the newest value (and starting with undefined), and there's no new function that can help in that Svelte reader store abstraction.
Probably what can be safely added to the API is a
getEventById(id: string, delayms?: number, options?: {noCache: boolean}) : Promise<Event>
from nostr-relaypool-ts.
Related Issues (20)
- Don't give back older event of kind 0 / 3 for the same author/kind pair in a subscription
- Think about removing relay property from filter after delay is implemented
- InMemoryRelay
- Duplicate event filtering test shouldn't pass
- ReferenceError: You are trying to `import` a file after the Jest environment has been torn down.
- Return updated metadata / contacts for cached results
- Use EventDemultiplexer HOT 2
- Suggestion: Return 2 separate parameters in `onnotice()` or `onerror()` HOT 10
- Isomorphic WebSockets
- Cache by any type of filter
- Process events from all running subscriptions
- Don't resend already running filters to a relay
- Hint for storing data in localStorage HOT 3
- Unsub should unsubscribe a virtual subscription immediately
- Auto unsubscribe
- Events missformat HOT 1
- Add reducer for batching filters with limit
- Support for event reactions HOT 1
- Why do Authors use a callback syntax? HOT 2
- NIP-42 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nostr-relaypool-ts.