Skip to content

Instantly share code, notes, and snippets.

View Connicpu's full-sized avatar

Connie Hilarides Connicpu

View GitHub Profile
async ->
my_result = some_large_calculation()
other_result = {}
await bukkit_sync (->
other_result.value = do_something_on_api(my_result)
), defer()
do_database_save other_result.value