]> git.seodisparate.com - EN605.607.81.SP22_ASDM_Project/commit
Impl async delay on AI choice
authorStephen Seo <seo.disparate@gmail.com>
Tue, 15 Mar 2022 04:16:09 +0000 (13:16 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Tue, 15 Mar 2022 04:16:09 +0000 (13:16 +0900)
commitebf0cb5bb8aa9c7d84e088a2eb91f1c2b53c1174
tree7774efc6535cfdabbcfcd218ee5a6d5a31952cbb
parent02e0d5b7e21fa7d00ffbecbe022c8eaedfc258a6
Impl async delay on AI choice

This commit is also a stepping-stone towards handling http requests
which will require deferred callbacks on Yew Components. By figuring
out how to delay callbacks in this commit, it should be easier to
figure out how to handle http requests that may require a deferred
callback.
front_end/src/async_js_helper.rs [new file with mode: 0644]
front_end/src/deferred_helper.js [new file with mode: 0644]
front_end/src/main.rs
front_end/src/state.rs
front_end/src/yew_components.rs