Right now this library causes the main thread to block while it waits for a response from the elasticsearch it is querying.
I realize that in our initial build we didn't care because we were only running one task at a time, but this stops execution of everything else that is happening on this node and could be easily fixed.
Return a promise instead of blocking.
Right now this library causes the main thread to block while it waits for a response from the elasticsearch it is querying.
I realize that in our initial build we didn't care because we were only running one task at a time, but this stops execution of everything else that is happening on this node and could be easily fixed.
Return a promise instead of blocking.