Comments (1)
Hi there!
No, I don't think async iterators would make sense tbh. For this use case here you need something that pings you whenever there's new data.
Iterators (also when async), however, are functions that return more data when you call them.
They need to call you, not the other way around 😉
from pg-listen.
Related Issues (20)
- Payload must (?) be valid JSON HOT 6
- Unhandled promise rejection during reconnect HOT 2
- Incorrect processing of notifications without payload HOT 8
- Add a "connected" event. HOT 7
- Make Subscriber interface generic HOT 5
- Feature Request: allow a retry policy for the first connection HOT 1
- Where to pass options HOT 1
- subscriber.notify() example is missing the channel HOT 1
- compatibility with [email protected] HOT 1
- Does anyone have a nodejs example? HOT 1
- Would it be possible to make the retryInterval an exponential delay like for example retryInterval=retryInterval*1.6 HOT 4
- copying arrays
- division by zero error HOT 2
- error event handler is never removed
- Channel with hyphen does not work HOT 3
- pg Dependency missing HOT 4
- Client has encountered a connection error and is not queryable HOT 4
- connect function is returning undefined HOT 3
- Reconnect with infinite retry attempts/timeout does not respond to `close()`
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 pg-listen.