We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Updater
1 parent 7ca2ffb commit 20707a1Copy full SHA for 20707a1
packages/notifier/src/notifier.js
@@ -85,7 +85,7 @@ export const makeNotifierKit = (...args) => {
85
...baseNotifier,
86
});
87
88
- const updater = harden({
+ const updater = Far('updater', {
89
updateState(state) {
90
if (final()) {
91
throw new Error('Cannot update state after termination.');
@@ -155,7 +155,6 @@ export const makeNotifierKit = (...args) => {
155
* @returns {Notifier<T>}
156
*/
157
export const makeNotifierFromAsyncIterable = asyncIterableP => {
158
- /** @type {ERef<AsyncIterator<T>>} */
159
const iteratorP = E(asyncIterableP)[Symbol.asyncIterator]();
160
161
/** @type {Promise<UpdateRecord<T>>|undefined} */
0 commit comments