gflohr / anki-chess-opening-trainer

Anki add-on for training chess openings
Other
8 stars 0 forks source link

Use `CollectionOp` for Background Operation #7

Closed gflohr closed 5 months ago

gflohr commented 11 months ago

The fix for #6 was to call mw.reset(). The better approach would be to use the CollectionOp operator. According to Anki forum user abdo (@abdnh) it is possible to pass a success handler to the success() method, see https://forums.ankiweb.net/t/update-deck-overview-after-import/38323/2.

gflohr commented 5 months ago

Already implemented.