emiflake / PureAdventure

An attempt at PureScript adventure.land bindings
2 stars 1 forks source link

determine between immediate commands and commands that #11

Open todo[bot] opened 4 years ago

todo[bot] commented 4 years ago

https://github.com/emiflake/PureAdventure/blob/8c4da3e27dd031b350689b9aa9610bfd6f9f77c1/src/Main.purs#L28-L33


This issue was generated by todo based on a TODO comment in 8c4da3e27dd031b350689b9aa9610bfd6f9f77c1. It's been assigned to @bbarker because they committed the code.
issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.73. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

bbarker commented 4 years ago

Currently, we're using a recently modified tick to issue commands that are tasks; other info-based commands like /coords are handled in a different way. However, the previous run of tick (from main) is likely to trample the state caused by this one, i.e., there is currently a race condition.