A while ago we added the new _async
functions to the EternaScript API, which you have to use if you want to work with RibonanzaNet (as well as paving the way for other improved behavior in the future). I had told Eli I would come up with some sample scripts to show how you would change a script to use the new async functions, and figured I would post here in case anyone else finds it useful
Syncronous version: Eterna
Async version, using .then
/callbacks: Eterna
Async version, using async/await
syntax: Eterna