Skip to content
New issue

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

Add a way to wait until changes are synchronized with fission #187

Closed
Tracked by #501
matheus23 opened this issue Mar 29, 2021 · 1 comment
Closed
Tracked by #501

Add a way to wait until changes are synchronized with fission #187

matheus23 opened this issue Mar 29, 2021 · 1 comment

Comments

@matheus23
Copy link
Contributor

Summary

I want to have a way to be notified until a .publish() call finally finishes synchronized the changes with the fission servers. I.e. to get notified when the "🪴 DNSLink updated: ..." message appears in the console after a publish call.

Problem

There is no API for that. There exists webnative.dataRoot.update, but it's not possible to use this API in conjunction with the FileSystem's publish: Publish will always call dataRoot.update without exposing the actual promise that does the work to the user.

Impact

In my UI I can't indicate to the user when a publish is in-progress. I have no way of figuring out when it's done.

Solution

I'm not sure. One way would be an option to turn off dataRoot updating in file systems.

@icidasset
Copy link
Contributor

Implemented on next branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants