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
The refresh method was added to clean up the index BEFORE reed gets up and running. However, since the call to list blocks until the ready event, a list function queued before reed is started will list a dirty index before refresh finishes running. This also happens if all reed code is inside the ready event callback, because that event is fired before refresh finishes, apparently.
The easiest idea would be to have refresh utilize a callback. Will have to remove the async call blocking on the list method.
It may be a better idea to remove the async call blocking all together and just throw an error if a method is called before reed is opened.
The text was updated successfully, but these errors were encountered:
The
refresh
method was added to clean up the index BEFORE reed gets up and running. However, since the call tolist
blocks until the ready event, a list function queued before reed is started will list a dirty index before refresh finishes running. This also happens if all reed code is inside the ready event callback, because that event is fired before refresh finishes, apparently.The easiest idea would be to have refresh utilize a callback. Will have to remove the async call blocking on the
list
method.It may be a better idea to remove the async call blocking all together and just throw an error if a method is called before reed is opened.
The text was updated successfully, but these errors were encountered: