Developing work objects, event listeners, and asynchronous scopes