launchAndRespond method
Overridden by sub-classes that need to control when the response is sent during the launch process.
Implementation
Future<void> launchAndRespond(void Function() sendResponse) async {
await launchImpl();
sendResponse();
}