Boilerplate for async fetch events