WICG / shared-storage

Explainer for proposed web platform Shared Storage API
Other
85 stars 18 forks source link

Spec: wait until operation is complete to terminate the global scope #88

Closed alexmturner closed 11 months ago

alexmturner commented 1 year ago

Currently, the run() and selectURL() steps in the spec uses the return promise resolving as the signal to maybe terminate the global scope. But, the promise is immediately resolved (to avoid leaks). So, we need a new signal to trigger this case.