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
For the store trait, see #56, we have several fns that take a progress emitter and return a future to indicate completion. This might be convenient sometimes, but we have two mechanisms to notify completion - a progress complete or error event and the final result.
We could always indicate completion using the progress stream. There would be events Complete and Error(io::Error). That way the fn can return unit, and the store trait gets more simple. Usage gets slightly more annoying, but we can make a wrapper for that.
The text was updated successfully, but these errors were encountered:
For the store trait, see #56, we have several fns that take a progress emitter and return a future to indicate completion. This might be convenient sometimes, but we have two mechanisms to notify completion - a progress complete or error event and the final result.
We could always indicate completion using the progress stream. There would be events Complete and Error(io::Error). That way the fn can return unit, and the store trait gets more simple. Usage gets slightly more annoying, but we can make a wrapper for that.
The text was updated successfully, but these errors were encountered: