Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wonder if those kind of anoymous functions could be replaced using coroutines? So an event handeler could look like...

  async for event in element.on("click"):
    console.log("click")


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: