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
I've been enjoying playing with this library. I love the simplicity of it. I was going to plug an engine in to it but I noticed something that appears to be an issue. Shouldn't the getNextMove be async? If we call an engine from this method aren't we blocking the thread and the strean from lichess?
Am I missing something here? I haven't looked into the code to deeply.
The text was updated successfully, but these errors were encountered:
I figured this out, it's fairly trivial to change it to async. I can think of some reasons why you might not want to I guess, but seems like if you wanted bot-o-tron to play multiple game at once it could be an issue unless I'm not understanding how this is built.
I've been enjoying playing with this library. I love the simplicity of it. I was going to plug an engine in to it but I noticed something that appears to be an issue. Shouldn't the getNextMove be async? If we call an engine from this method aren't we blocking the thread and the strean from lichess?
Am I missing something here? I haven't looked into the code to deeply.
The text was updated successfully, but these errors were encountered: