You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
General case for #1420. See PR #2066 for how to fix - use this.newAckBasedPromise instead of new Promise if the Promise should be rejected if we know the ack won't come in, e.g. on ComponentRuntime dispose.
It might be interesting to look into writing a custom eslint rule for this? The rule would enforce that new Promise isn't used in a class extending SharedObject. Might be too heavy-handed, but want to look into it.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has had no activity for 180 days. It will be closed if no further activity occurs within 8 days of this comment. Thank you for your contributions to Fluid Framework!
General case for #1420. See PR #2066 for how to fix - use
this.newAckBasedPromise
instead ofnew Promise
if the Promise should be rejected if we know the ack won't come in, e.g. on ComponentRuntime dispose.It might be interesting to look into writing a custom eslint rule for this? The rule would enforce that
new Promise
isn't used in a class extendingSharedObject
. Might be too heavy-handed, but want to look into it.The text was updated successfully, but these errors were encountered: