Discussion: Calling a custom function on board.set()
coffeeDev98 opened this issue · 1 comments
coffeeDev98 commented
Hi,
Great work on the library!! Just had a doubt...
Is there any way to call a custom function on board.set?
niklasf commented
This is relatively straight forward with a wrapper, right? I see how a hook could be more elegant in some cases, but generally the API is kept to the minimum needed by Lichess itself.