We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some durable objects links their topic/subscribers to storage. E.g. using forEachPublicationRecord
The watcher currently dies in upgrade and nothing resumes it.
Use watchPromise.
Function signature approx,
/** * * @template {object} T * @template {any[]} A args * @param {Promise<T>} p * @param {{onFulfilled: (T, ...A) => void, onRejected: (reason: any, ...A) => void}} watcher durable object handling resolution of the promise * @param {A} args added to calls to the watcher's handlers */ function watchPromise(p, watcher, ...args) {
Assigning to @michaelfig because it fits into his overall Notifier revamp
The text was updated successfully, but these errors were encountered:
forEachPublicationRecord
michaelfig
No branches or pull requests
What is the Problem Being Solved?
Some durable objects links their topic/subscribers to storage. E.g. using forEachPublicationRecord
The watcher currently dies in upgrade and nothing resumes it.
Description of the Design
Use watchPromise.
Function signature approx,
Assigning to @michaelfig because it fits into his overall Notifier revamp
Security Considerations
Scaling Considerations
Test Plan
The text was updated successfully, but these errors were encountered: