-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels